#26156F#26156F
#26156F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.143 H 281.4°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).
Color values
| HEX | #26156F |
|---|---|
| RGB | rgb(38, 21, 111) |
| HSL | hsl(251, 68%, 26%) |
| HSV | hsv(251, 81%, 44%) |
| CMYK | cmyk(65.8%, 81.1%, 0%, 56.5%) |
| CIE-LAB | lab(15.98, 35.13, -48.68) |
| CIE-LCH | lch(15.98, 60.03, 305.81°) |
| OKLab | oklab(29.14% 0.0284 -0.1405) |
| OKLCH | oklch(29.14% 0.143 281.4) |
| XYZ | xyz(3.9358, 2.0958, 15.2330) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.18
Dark Royal Blue
#02066F
ΔE00 3.99
Darkblue (survey)
#030764
ΔE00 4.21
Deep Blue
#040273
ΔE00 4.43
Indigo (survey)
#380282
ΔE00 4.87
Dark Indigo
#1F0954
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26156F #5E6F15
analogous
#15316F #26156F #53156F
triadic
#26156F #6F2615 #156F26
tetradic
#26156F #6F1531 #5E6F15 #156F53
square
#26156F #6F1531 #5E6F15 #156F53
split-complementary
#26156F #6F5315 #316F15
monochromatic
#09051A #140B3C #26156F #381FA2 #4928D6
Accessibility & contrast
On white
14.80
#26156F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#26156F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26156F
14.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26156F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26156F | 1.00 | 14.80 | 1.42 | 14.80 |
| #FFFFFF | 14.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #26156f; /* rgb */ color: rgb(38, 21, 111); /* oklch */ color: oklch(29.1% 0.143 281.4);
Tailwind
colors: {
custom: {
50: '#6b5599',
500: '#26156f',
950: '#000000',
},
}SCSS
$custom: #26156f; $custom-light: #6b5599; $custom-dark: #000000;
JSON
{
"hex": "#26156f",
"rgb": {
"r": 38,
"g": 21,
"b": 111
},
"hsl": {
"h": 251.333,
"s": 68.182,
"l": 25.882
},
"oklch": {
"l": 0.29135,
"c": 0.1433,
"h": 281.4
},
"luminance": 0.02096
}Semantic roles & 50–950 ramp
primary
#26156F
secondary
#91A53A
accent
#EB3DCA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E