#56299F#56299F
#56299F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.178 H 294.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #56299F |
|---|---|
| RGB | rgb(86, 41, 159) |
| HSL | hsl(263, 59%, 39%) |
| HSV | hsv(263, 74%, 62%) |
| CMYK | cmyk(45.9%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(29.58, 46.35, -56.28) |
| CIE-LCH | lch(29.58, 72.91, 309.47°) |
| OKLab | oklab(41.37% 0.0744 -0.1612) |
| OKLCH | oklch(41.37% 0.178 294.8) |
| XYZ | xyz(10.8870, 6.0672, 33.3916) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.09
Indigo Blue
#3A18B1
ΔE00 5.48
Violet Blue
#510AC9
ΔE00 6.38
Purple Blue
#5D21D0
ΔE00 6.67
Ocean Blue
#4F42B5
ΔE00 7.25
Darkslateblue
#483D8B
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56299F #729F29
analogous
#29379F #56299F #91299F
triadic
#56299F #9F5629 #299F56
tetradic
#56299F #9F2937 #729F29 #299F91
square
#56299F #9F2937 #729F29 #299F91
split-complementary
#56299F #9F9129 #379F29
monochromatic
#21103E #3C1C6E #56299F #7139CC #946AD9
Accessibility & contrast
On white
9.49
#56299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#56299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56299F
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56299F | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#414862
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #56299f; /* rgb */ color: rgb(86, 41, 159); /* oklch */ color: oklch(41.4% 0.178 294.8);
Tailwind
colors: {
custom: {
50: '#8d67bc',
500: '#56299f',
950: '#000000',
},
}SCSS
$custom: #56299f; $custom-light: #8d67bc; $custom-dark: #000000;
JSON
{
"hex": "#56299f",
"rgb": {
"r": 86,
"g": 41,
"b": 159
},
"hsl": {
"h": 262.881,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.41366,
"c": 0.17756,
"h": 294.8
},
"luminance": 0.06068
}Semantic roles & 50–950 ramp
primary
#56299F
secondary
#9DBF65
accent
#E246A6
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81