#29147E#29147E
#29147E is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.162 H 280.3°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).
Color values
| HEX | #29147E |
|---|---|
| RGB | rgb(41, 20, 126) |
| HSL | hsl(252, 73%, 29%) |
| HSV | hsv(252, 84%, 49%) |
| CMYK | cmyk(67.5%, 84.1%, 0%, 50.6%) |
| CIE-LAB | lab(17.82, 40.70, -55.29) |
| CIE-LCH | lch(17.82, 68.66, 306.35°) |
| OKLab | oklab(30.99% 0.029 -0.1596) |
| OKLCH | oklch(30.99% 0.162 280.3) |
| XYZ | xyz(4.9293, 2.4777, 19.9531) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.29
Midnight Blue
#191970
ΔE00 3.47
Royal
#0C1793
ΔE00 3.78
Navy
#000080
ΔE00 4.17
Darkblue
#00008B
ΔE00 4.24
Deep Blue
#040273
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29147E #697E14
analogous
#14347E #29147E #5E147E
triadic
#29147E #7E2914 #147E29
tetradic
#29147E #7E1434 #697E14 #147E5E
square
#29147E #7E1434 #697E14 #147E5E
split-complementary
#29147E #7E5E14 #347E14
monochromatic
#09041A #180C49 #29147E #3A1CB3 #512EDE
Accessibility & contrast
On white
14.04
#29147E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#29147E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29147E
14.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29147E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29147E | 1.00 | 14.04 | 1.50 | 14.04 |
| #FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #29147e; /* rgb */ color: rgb(41, 20, 126); /* oklch */ color: oklch(31.0% 0.162 280.3);
Tailwind
colors: {
custom: {
50: '#7056a5',
500: '#29147e',
950: '#000000',
},
}SCSS
$custom: #29147e; $custom-light: #7056a5; $custom-dark: #000000;
JSON
{
"hex": "#29147e",
"rgb": {
"r": 41,
"g": 20,
"b": 126
},
"hsl": {
"h": 251.887,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.30991,
"c": 0.16222,
"h": 280.3
},
"luminance": 0.02478
}Semantic roles & 50–950 ramp
primary
#29147E
secondary
#9BB33A
accent
#EF38CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F