#29127E#29127E
#29127E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.164 H 280.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #29127E |
|---|---|
| RGB | rgb(41, 18, 126) |
| HSL | hsl(253, 75%, 28%) |
| HSV | hsv(253, 86%, 49%) |
| CMYK | cmyk(67.5%, 85.7%, 0%, 50.6%) |
| CIE-LAB | lab(17.51, 41.61, -55.81) |
| CIE-LCH | lch(17.51, 69.61, 306.71°) |
| OKLab | oklab(30.78% 0.03 -0.1611) |
| OKLCH | oklch(30.78% 0.164 280.5) |
| XYZ | xyz(4.8955, 2.4100, 19.9418) |
| Luminance | 0.0241 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.00
Midnight Blue
#191970
ΔE00 3.69
Royal
#0C1793
ΔE00 3.86
Navy
#000080
ΔE00 3.91
Darkblue
#00008B
ΔE00 4.01
Deep Blue
#040273
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29127E #677E12
analogous
#12317E #29127E #5F127E
triadic
#29127E #7E2912 #127E29
tetradic
#29127E #7E1231 #677E12 #127E5F
square
#29127E #7E1231 #677E12 #127E5F
split-complementary
#29127E #7E5F12 #317E12
monochromatic
#09041B #180A48 #29127E #3A1AB4 #512AE1
Accessibility & contrast
On white
14.17
#29127E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#29127E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29127E
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29127E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29127E | 1.00 | 14.17 | 1.48 | 14.17 |
| #FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #29127e; /* rgb */ color: rgb(41, 18, 126); /* oklch */ color: oklch(30.8% 0.164 280.5);
Tailwind
colors: {
custom: {
50: '#7055a5',
500: '#29127e',
950: '#000000',
},
}SCSS
$custom: #29127e; $custom-light: #7055a5; $custom-dark: #000000;
JSON
{
"hex": "#29127e",
"rgb": {
"r": 41,
"g": 18,
"b": 126
},
"hsl": {
"h": 252.778,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.30777,
"c": 0.16384,
"h": 280.5
},
"luminance": 0.0241
}Semantic roles & 50–950 ramp
primary
#29127E
secondary
#99B438
accent
#F236CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F