#29107E#29107E
#29107E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.6% C 0.165 H 280.8°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #29107E |
|---|---|
| RGB | rgb(41, 16, 126) |
| HSL | hsl(254, 77%, 28%) |
| HSV | hsv(254, 87%, 49%) |
| CMYK | cmyk(67.5%, 87.3%, 0%, 50.6%) |
| CIE-LAB | lab(17.22, 42.46, -56.29) |
| CIE-LCH | lch(17.22, 70.51, 307.03°) |
| OKLab | oklab(30.58% 0.0309 -0.1624) |
| OKLCH | oklch(30.58% 0.165 280.8) |
| XYZ | xyz(4.8644, 2.3480, 19.9315) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.75
Navy
#000080
ΔE00 3.69
Darkblue
#00008B
ΔE00 3.81
Midnight Blue
#191970
ΔE00 3.92
Royal
#0C1793
ΔE00 3.97
Deep Blue
#040273
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29107E #657E10
analogous
#102E7E #29107E #60107E
triadic
#29107E #7E2910 #107E29
tetradic
#29107E #7E102E #657E10 #107E60
square
#29107E #7E102E #657E10 #107E60
split-complementary
#29107E #7E6010 #2E7E10
monochromatic
#09031B #170948 #29107E #3B17B4 #5025E3
Accessibility & contrast
On white
14.29
#29107E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#29107E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29107E
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29107E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29107E | 1.00 | 14.29 | 1.47 | 14.29 |
| #FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #29107e; /* rgb */ color: rgb(41, 16, 126); /* oklch */ color: oklch(30.6% 0.165 280.8);
Tailwind
colors: {
custom: {
50: '#7154a5',
500: '#29107e',
950: '#000000',
},
}SCSS
$custom: #29107e; $custom-light: #7154a5; $custom-dark: #000000;
JSON
{
"hex": "#29107e",
"rgb": {
"r": 41,
"g": 16,
"b": 126
},
"hsl": {
"h": 253.636,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.30578,
"c": 0.16534,
"h": 280.8
},
"luminance": 0.02348
}Semantic roles & 50–950 ramp
primary
#29107E
secondary
#97B436
accent
#F434C8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F