- AA normal text
- Pass
- AA large text
- Pass
- AAA normal text
- Pass
- AAA large text
- Pass
Back to catalog
Local color workspace
Work with #552283
Inspect equivalent formats, text contrast, palette steps, hue relationships, and copy-ready CSS for any opaque color entered as HEX, RGB, HSL, HWB, OKLCH, or a CSS keyword.
01
Tune OKLCH, then keep its sRGB fallback honest.
Adjust perceptual lightness, chroma, and hue. The instrument keeps the authored OKLCH value separate from the six-digit fallback used by the rest of this workspace.
Fits sRGB No gamut mapping is needed for this value.
02
Equivalent color formats
These CSS notations, including perceptual OKLCH, are calculated from the same normalized six-digit sRGB value.
03
Black and white text contrast
Compare WCAG relative-luminance ratios before choosing text. A passing ratio still needs to be checked in the complete interface.
Recommended foreground: #FFFFFF · 10.81:1
- AA normal text
- Fail
- AA large text
- Fail
- AAA normal text
- Fail
- AAA large text
- Fail
04
Calculated tints and shades
Use these reproducible sRGB mixtures as starting points, then verify them in the context of your interface.
Tints
Shades
05
Hue-wheel starting points
These variants rotate HSL hue while preserving saturation and lightness. They are mathematical options, not automatic design recommendations.
06
Copy-ready CSS
Start with custom properties for the normalized color and the stronger black-or-white foreground.
--color-hex-552283: #552283;
--color-hex-552283-rgb: 85 34 131;
--color-hex-552283-hsl: 272 59% 32%;
--color-hex-552283-oklch: oklch(38% 0.1541 303.82);
color: #FFFFFF;
background-color: var(--color-hex-552283);