#25156E#25156E
#25156E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.142 H 281.0°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).
Color values
| HEX | #25156E |
|---|---|
| RGB | rgb(37, 21, 110) |
| HSL | hsl(251, 68%, 26%) |
| HSV | hsv(251, 81%, 43%) |
| CMYK | cmyk(66.4%, 80.9%, 0%, 56.9%) |
| CIE-LAB | lab(15.77, 34.68, -48.38) |
| CIE-LCH | lch(15.77, 59.53, 305.63°) |
| OKLab | oklab(28.93% 0.0271 -0.1396) |
| OKLCH | oklch(28.93% 0.142 281) |
| XYZ | xyz(3.8447, 2.0551, 14.9429) |
| Luminance | 0.0205 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.08
Dark Royal Blue
#02066F
ΔE00 3.95
Darkblue (survey)
#030764
ΔE00 4.09
Deep Blue
#040273
ΔE00 4.43
Dark Indigo
#1F0954
ΔE00 4.78
Indigo (survey)
#380282
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25156E #5E6E15
analogous
#15316E #25156E #51156E
triadic
#25156E #6E2515 #156E25
tetradic
#25156E #6E1531 #5E6E15 #156E51
square
#25156E #6E1531 #5E6E15 #156E51
split-complementary
#25156E #6E5115 #316E15
monochromatic
#09051A #140B3B #25156E #361FA1 #4829D5
Accessibility & contrast
On white
14.88
#25156E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#25156E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25156E
14.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25156E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25156E | 1.00 | 14.88 | 1.41 | 14.88 |
| #FFFFFF | 14.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00246C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #25156e; /* rgb */ color: rgb(37, 21, 110); /* oklch */ color: oklch(28.9% 0.142 281.0);
Tailwind
colors: {
custom: {
50: '#6b5599',
500: '#25156e',
950: '#000000',
},
}SCSS
$custom: #25156e; $custom-light: #6b5599; $custom-dark: #000000;
JSON
{
"hex": "#25156e",
"rgb": {
"r": 37,
"g": 21,
"b": 110
},
"hsl": {
"h": 250.787,
"s": 67.939,
"l": 25.686
},
"oklch": {
"l": 0.28932,
"c": 0.14222,
"h": 281
},
"luminance": 0.02055
}Semantic roles & 50–950 ramp
primary
#25156E
secondary
#91A43A
accent
#EB3DCC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E