#25116E#25116E
#25116E is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.146 H 281.7°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).
Color values
| HEX | #25116E |
|---|---|
| RGB | rgb(37, 17, 110) |
| HSL | hsl(253, 73%, 25%) |
| HSV | hsv(253, 85%, 43%) |
| CMYK | cmyk(66.4%, 84.5%, 0%, 56.9%) |
| CIE-LAB | lab(15.06, 36.74, -49.56) |
| CIE-LCH | lch(15.06, 61.69, 306.55°) |
| OKLab | oklab(28.44% 0.0296 -0.143) |
| OKLCH | oklch(28.44% 0.146 281.7) |
| XYZ | xyz(3.7770, 1.9197, 14.9203) |
| Luminance | 0.0192 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.73
Dark Royal Blue
#02066F
ΔE00 3.43
Darkblue (survey)
#030764
ΔE00 3.69
Deep Blue
#040273
ΔE00 3.79
Indigo (survey)
#380282
ΔE00 4.52
Dark Indigo
#1F0954
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25116E #5A6E11
analogous
#112C6E #25116E #53116E
triadic
#25116E #6E2511 #116E25
tetradic
#25116E #6E112C #5A6E11 #116E53
square
#25116E #6E112C #5A6E11 #116E53
split-complementary
#25116E #6E5311 #2C6E11
monochromatic
#09041B #130939 #25116E #3719A3 #4921D8
Accessibility & contrast
On white
15.17
#25116E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#25116E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25116E
15.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25116E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25116E | 1.00 | 15.17 | 1.38 | 15.17 |
| #FFFFFF | 15.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #25116e; /* rgb */ color: rgb(37, 17, 110); /* oklch */ color: oklch(28.4% 0.146 281.7);
Tailwind
colors: {
custom: {
50: '#6b5399',
500: '#25116e',
950: '#000000',
},
}SCSS
$custom: #25116e; $custom-light: #6b5399; $custom-dark: #000000;
JSON
{
"hex": "#25116e",
"rgb": {
"r": 37,
"g": 17,
"b": 110
},
"hsl": {
"h": 252.903,
"s": 73.228,
"l": 24.902
},
"oklch": {
"l": 0.28436,
"c": 0.14601,
"h": 281.7
},
"luminance": 0.0192
}Semantic roles & 50–950 ramp
primary
#25116E
secondary
#8DA535
accent
#F038C8
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E