#56299B#56299B
#56299B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.173 H 295.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #56299B |
|---|---|
| RGB | rgb(86, 41, 155) |
| HSL | hsl(264, 58%, 38%) |
| HSV | hsv(264, 74%, 61%) |
| CMYK | cmyk(44.5%, 73.5%, 0%, 39.2%) |
| CIE-LAB | lab(29.24, 45.27, -54.41) |
| CIE-LCH | lch(29.24, 70.78, 309.76°) |
| OKLab | oklab(41.02% 0.0753 -0.1557) |
| OKLCH | oklch(41.02% 0.173 295.8) |
| XYZ | xyz(10.5455, 5.9306, 31.5931) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.88
Indigo Blue
#3A18B1
ΔE00 5.86
Violet Blue
#510AC9
ΔE00 6.92
Darkslateblue
#483D8B
ΔE00 7.06
Indigo
#4B0082
ΔE00 7.08
Purple Blue
#5D21D0
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56299B #6E9B29
analogous
#29359B #56299B #8F299B
triadic
#56299B #9B5629 #299B56
tetradic
#56299B #9B2935 #6E9B29 #299B8F
square
#56299B #9B2935 #6E9B29 #299B8F
split-complementary
#56299B #9B8F29 #359B29
monochromatic
#200F3A #3B1C6B #56299B #7137CA #9367D7
Accessibility & contrast
On white
9.61
#56299B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#56299B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56299B
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56299B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56299B | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#43465F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #56299b; /* rgb */ color: rgb(86, 41, 155); /* oklch */ color: oklch(41.0% 0.173 295.8);
Tailwind
colors: {
custom: {
50: '#8c67b9',
500: '#56299b',
950: '#000000',
},
}SCSS
$custom: #56299b; $custom-light: #8c67b9; $custom-dark: #000000;
JSON
{
"hex": "#56299b",
"rgb": {
"r": 86,
"g": 41,
"b": 155
},
"hsl": {
"h": 263.684,
"s": 58.163,
"l": 38.431
},
"oklch": {
"l": 0.41016,
"c": 0.17298,
"h": 295.8
},
"luminance": 0.05931
}Semantic roles & 50–950 ramp
primary
#56299B
secondary
#99BD63
accent
#E146A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81