#56299C#56299C
#56299C is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.174 H 295.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #56299C |
|---|---|
| RGB | rgb(86, 41, 156) |
| HSL | hsl(263, 58%, 39%) |
| HSV | hsv(263, 74%, 61%) |
| CMYK | cmyk(44.9%, 73.7%, 0%, 38.8%) |
| CIE-LAB | lab(29.32, 45.54, -54.88) |
| CIE-LCH | lch(29.32, 71.32, 309.69°) |
| OKLab | oklab(41.1% 0.0751 -0.1571) |
| OKLCH | oklch(41.1% 0.174 295.5) |
| XYZ | xyz(10.6298, 5.9644, 32.0372) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.92
Indigo Blue
#3A18B1
ΔE00 5.76
Violet Blue
#510AC9
ΔE00 6.78
Darkslateblue
#483D8B
ΔE00 7.10
Purple Blue
#5D21D0
ΔE00 7.12
Indigo
#4B0082
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56299C #6F9C29
analogous
#29359C #56299C #8F299C
triadic
#56299C #9C5629 #299C56
tetradic
#56299C #9C2935 #6F9C29 #299C8F
square
#56299C #9C2935 #6F9C29 #299C8F
split-complementary
#56299C #9C8F29 #359C29
monochromatic
#21103B #3B1C6C #56299C #7138CB #9468D7
Accessibility & contrast
On white
9.58
#56299C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#56299C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56299C
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56299C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56299C | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#434760
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #56299c; /* rgb */ color: rgb(86, 41, 156); /* oklch */ color: oklch(41.1% 0.174 295.5);
Tailwind
colors: {
custom: {
50: '#8c67ba',
500: '#56299c',
950: '#000000',
},
}SCSS
$custom: #56299c; $custom-light: #8c67ba; $custom-dark: #000000;
JSON
{
"hex": "#56299c",
"rgb": {
"r": 86,
"g": 41,
"b": 156
},
"hsl": {
"h": 263.478,
"s": 58.376,
"l": 38.627
},
"oklch": {
"l": 0.41103,
"c": 0.17413,
"h": 295.5
},
"luminance": 0.05965
}Semantic roles & 50–950 ramp
primary
#56299C
secondary
#9ABE63
accent
#E246A5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81