#25117E#25117E
#25117E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.165 H 278.3°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).
Color values
| HEX | #25117E |
|---|---|
| RGB | rgb(37, 17, 126) |
| HSL | hsl(251, 76%, 28%) |
| HSV | hsv(251, 87%, 49%) |
| CMYK | cmyk(70.6%, 86.5%, 0%, 50.6%) |
| CIE-LAB | lab(16.99, 41.69, -56.68) |
| CIE-LCH | lch(16.99, 70.36, 306.34°) |
| OKLab | oklab(30.33% 0.024 -0.1637) |
| OKLCH | oklch(30.33% 0.165 278.3) |
| XYZ | xyz(4.7281, 2.3002, 19.9294) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.25
Navy
#000080
ΔE00 3.48
Midnight Blue
#191970
ΔE00 3.55
Darkblue
#00008B
ΔE00 3.63
Royal
#0C1793
ΔE00 3.65
Deep Blue
#040273
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25117E #6A7E11
analogous
#11337E #25117E #5B117E
triadic
#25117E #7E2511 #117E25
tetradic
#25117E #7E1133 #6A7E11 #117E5B
square
#25117E #7E1133 #6A7E11 #117E5B
split-complementary
#25117E #7E5B11 #337E11
monochromatic
#08041B #150A48 #25117E #3518B4 #4A27E2
Accessibility & contrast
On white
14.38
#25117E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#25117E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25117E
14.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25117E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25117E | 1.00 | 14.38 | 1.46 | 14.38 |
| #FFFFFF | 14.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #25117e; /* rgb */ color: rgb(37, 17, 126); /* oklch */ color: oklch(30.3% 0.165 278.3);
Tailwind
colors: {
custom: {
50: '#6f54a5',
500: '#25117e',
950: '#000000',
},
}SCSS
$custom: #25117e; $custom-light: #6f54a5; $custom-dark: #000000;
JSON
{
"hex": "#25117e",
"rgb": {
"r": 37,
"g": 17,
"b": 126
},
"hsl": {
"h": 251.009,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.3033,
"c": 0.16544,
"h": 278.3
},
"luminance": 0.02301
}Semantic roles & 50–950 ramp
primary
#25117E
secondary
#9DB437
accent
#F335D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F