#25166F#25166F
#25166F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.142 H 280.6°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).
Color values
| HEX | #25166F |
|---|---|
| RGB | rgb(37, 22, 111) |
| HSL | hsl(250, 67%, 26%) |
| HSV | hsv(250, 80%, 44%) |
| CMYK | cmyk(66.7%, 80.2%, 0%, 56.5%) |
| CIE-LAB | lab(16.08, 34.46, -48.53) |
| CIE-LCH | lch(16.08, 59.52, 305.38°) |
| OKLab | oklab(29.18% 0.0262 -0.1401) |
| OKLCH | oklch(29.18% 0.142 280.6) |
| XYZ | xyz(3.9182, 2.1145, 15.2375) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 1.90
Dark Royal Blue
#02066F
ΔE00 4.06
Darkblue (survey)
#030764
ΔE00 4.25
Deep Blue
#040273
ΔE00 4.55
Dark Indigo
#1F0954
ΔE00 5.01
Indigo (survey)
#380282
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25166F #606F16
analogous
#16336F #25166F #51166F
triadic
#25166F #6F2516 #166F25
tetradic
#25166F #6F1633 #606F16 #166F51
square
#25166F #6F1633 #606F16 #166F51
split-complementary
#25166F #6F5116 #336F16
monochromatic
#09051A #140C3C #25166F #3620A2 #472BD5
Accessibility & contrast
On white
14.76
#25166F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#25166F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25166F
14.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25166F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25166F | 1.00 | 14.76 | 1.42 | 14.76 |
| #FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #25166f; /* rgb */ color: rgb(37, 22, 111); /* oklch */ color: oklch(29.2% 0.142 280.6);
Tailwind
colors: {
custom: {
50: '#6b5699',
500: '#25166f',
950: '#000000',
},
}SCSS
$custom: #25166f; $custom-light: #6b5699; $custom-dark: #000000;
JSON
{
"hex": "#25166f",
"rgb": {
"r": 37,
"g": 22,
"b": 111
},
"hsl": {
"h": 250.112,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.29178,
"c": 0.14248,
"h": 280.6
},
"luminance": 0.02115
}Semantic roles & 50–950 ramp
primary
#25166F
secondary
#93A53C
accent
#EA3ECD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E