#56259E#56259E
#56259E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.181 H 295.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #56259E |
|---|---|
| RGB | rgb(86, 37, 158) |
| HSL | hsl(264, 62%, 38%) |
| HSV | hsv(264, 77%, 62%) |
| CMYK | cmyk(45.6%, 76.6%, 0%, 38%) |
| CIE-LAB | lab(28.82, 47.99, -56.91) |
| CIE-LCH | lch(28.82, 74.44, 310.14°) |
| OKLab | oklab(40.81% 0.0782 -0.163) |
| OKLCH | oklch(40.81% 0.181 295.6) |
| XYZ | xyz(10.6692, 5.7699, 32.8927) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.48
Indigo Blue
#3A18B1
ΔE00 5.21
Violet Blue
#510AC9
ΔE00 6.18
Indigo
#4B0082
ΔE00 6.69
Purple Blue
#5D21D0
ΔE00 6.82
Purple (survey)
#7E1E9C
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56259E #6D9E25
analogous
#25309E #56259E #92259E
triadic
#56259E #9E5625 #259E56
tetradic
#56259E #9E2530 #6D9E25 #259E92
square
#56259E #9E2530 #6D9E25 #259E92
split-complementary
#56259E #9E9225 #309E25
monochromatic
#200E3B #3B196C #56259E #7131CF #9363DA
Accessibility & contrast
On white
9.75
#56259E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#56259E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56259E
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56259E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56259E | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#424660
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #56259e; /* rgb */ color: rgb(86, 37, 158); /* oklch */ color: oklch(40.8% 0.181 295.6);
Tailwind
colors: {
custom: {
50: '#8d65bc',
500: '#56259e',
950: '#000000',
},
}SCSS
$custom: #56259e; $custom-light: #8d65bc; $custom-dark: #000000;
JSON
{
"hex": "#56259e",
"rgb": {
"r": 86,
"g": 37,
"b": 158
},
"hsl": {
"h": 264.298,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.40806,
"c": 0.18083,
"h": 295.6
},
"luminance": 0.0577
}Semantic roles & 50–950 ramp
primary
#56259E
secondary
#99C05F
accent
#E543A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81