#56209F#56209F
#56209F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.187 H 296.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #56209F |
|---|---|
| RGB | rgb(86, 32, 159) |
| HSL | hsl(266, 66%, 37%) |
| HSV | hsv(266, 80%, 62%) |
| CMYK | cmyk(45.9%, 79.9%, 0%, 37.6%) |
| CIE-LAB | lab(28.15, 50.44, -58.62) |
| CIE-LCH | lch(28.15, 77.33, 310.71°) |
| OKLab | oklab(40.37% 0.082 -0.168) |
| OKLCH | oklch(40.37% 0.187 296) |
| XYZ | xyz(10.6106, 5.5144, 33.2995) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.82
Rebeccapurple
#663399
ΔE00 5.13
Violet Blue
#510AC9
ΔE00 5.76
Indigo
#4B0082
ΔE00 6.14
Purple Blue
#5D21D0
ΔE00 6.77
Indigo (survey)
#380282
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56209F #699F20
analogous
#20299F #56209F #96209F
triadic
#56209F #9F5620 #209F56
tetradic
#56209F #9F2029 #699F20 #209F96
square
#56209F #9F2029 #699F20 #209F96
split-complementary
#56209F #9F9620 #299F20
monochromatic
#1F0B39 #3A166C #56209F #722AD2 #935BDE
Accessibility & contrast
On white
9.99
#56209F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#56209F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56209F
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56209F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56209F | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#424460
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #56209f; /* rgb */ color: rgb(86, 32, 159); /* oklch */ color: oklch(40.4% 0.187 296.0);
Tailwind
colors: {
custom: {
50: '#8d63bc',
500: '#56209f',
950: '#000000',
},
}SCSS
$custom: #56209f; $custom-light: #8d63bc; $custom-dark: #000000;
JSON
{
"hex": "#56209f",
"rgb": {
"r": 86,
"g": 32,
"b": 159
},
"hsl": {
"h": 265.512,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.40365,
"c": 0.18697,
"h": 296
},
"luminance": 0.05515
}Semantic roles & 50–950 ramp
primary
#56209F
secondary
#95C259
accent
#E93EA1
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81