#25116C#25116C
#25116C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.144 H 282.2°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).
Color values
| HEX | #25116C |
|---|---|
| RGB | rgb(37, 17, 108) |
| HSL | hsl(253, 73%, 25%) |
| HSV | hsv(253, 84%, 42%) |
| CMYK | cmyk(65.7%, 84.3%, 0%, 57.6%) |
| CIE-LAB | lab(14.83, 36.11, -48.64) |
| CIE-LCH | lch(14.83, 60.58, 306.59°) |
| OKLab | oklab(28.2% 0.0302 -0.1403) |
| OKLCH | oklch(28.2% 0.144 282.2) |
| XYZ | xyz(3.6693, 1.8767, 14.3533) |
| Luminance | 0.0188 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.79
Dark Royal Blue
#02066F
ΔE00 3.53
Darkblue (survey)
#030764
ΔE00 3.63
Deep Blue
#040273
ΔE00 3.94
Dark Indigo
#1F0954
ΔE00 4.23
Indigo (survey)
#380282
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25116C #586C11
analogous
#112B6C #25116C #53116C
triadic
#25116C #6C2511 #116C25
tetradic
#25116C #6C112B #586C11 #116C53
square
#25116C #6C112B #586C11 #116C53
split-complementary
#25116C #6C5311 #2B6C11
monochromatic
#09041A #130937 #25116C #3719A1 #4922D6
Accessibility & contrast
On white
15.27
#25116C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#25116C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25116C
15.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25116C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25116C | 1.00 | 15.27 | 1.38 | 15.27 |
| #FFFFFF | 15.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #25116c; /* rgb */ color: rgb(37, 17, 108); /* oklch */ color: oklch(28.2% 0.144 282.2);
Tailwind
colors: {
custom: {
50: '#6b5397',
500: '#25116c',
950: '#000000',
},
}SCSS
$custom: #25116c; $custom-light: #6b5397; $custom-dark: #000000;
JSON
{
"hex": "#25116c",
"rgb": {
"r": 37,
"g": 17,
"b": 108
},
"hsl": {
"h": 253.187,
"s": 72.8,
"l": 24.51
},
"oklch": {
"l": 0.28204,
"c": 0.14353,
"h": 282.2
},
"luminance": 0.01877
}Semantic roles & 50–950 ramp
primary
#25116C
secondary
#8BA435
accent
#EF38C7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E