#29156E#29156E
#29156E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.142 H 283.7°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).
Color values
| HEX | #29156E |
|---|---|
| RGB | rgb(41, 21, 110) |
| HSL | hsl(253, 68%, 26%) |
| HSV | hsv(253, 81%, 43%) |
| CMYK | cmyk(62.7%, 80.9%, 0%, 56.9%) |
| CIE-LAB | lab(16.17, 35.19, -47.71) |
| CIE-LCH | lch(16.17, 59.28, 306.41°) |
| OKLab | oklab(29.31% 0.0335 -0.1375) |
| OKLCH | oklch(29.31% 0.142 283.7) |
| XYZ | xyz(3.9962, 2.1333, 14.9500) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.62
Dark Royal Blue
#02066F
ΔE00 4.34
Darkblue (survey)
#030764
ΔE00 4.49
Deep Blue
#040273
ΔE00 4.74
Indigo (survey)
#380282
ΔE00 4.76
Dark Indigo
#1F0954
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29156E #5A6E15
analogous
#152D6E #29156E #55156E
triadic
#29156E #6E2915 #156E29
tetradic
#29156E #6E152D #5A6E15 #156E55
square
#29156E #6E152D #5A6E15 #156E55
split-complementary
#29156E #6E5515 #2D6E15
monochromatic
#0A051A #160B3B #29156E #3C1FA1 #4F29D5
Accessibility & contrast
On white
14.72
#29156E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#29156E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29156E
14.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29156E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29156E | 1.00 | 14.72 | 1.43 | 14.72 |
| #FFFFFF | 14.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B71
Deuteranopia (green-blind)
#00256C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #29156e; /* rgb */ color: rgb(41, 21, 110); /* oklch */ color: oklch(29.3% 0.142 283.7);
Tailwind
colors: {
custom: {
50: '#6d5599',
500: '#29156e',
950: '#000000',
},
}SCSS
$custom: #29156e; $custom-light: #6d5599; $custom-dark: #000000;
JSON
{
"hex": "#29156e",
"rgb": {
"r": 41,
"g": 21,
"b": 110
},
"hsl": {
"h": 253.483,
"s": 67.939,
"l": 25.686
},
"oklch": {
"l": 0.29308,
"c": 0.14156,
"h": 283.7
},
"luminance": 0.02134
}Semantic roles & 50–950 ramp
primary
#29156E
secondary
#8DA43A
accent
#EB3DC4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E