#26147F#26147F
#26147F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.9% C 0.164 H 278.4°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #26147F |
|---|---|
| RGB | rgb(38, 20, 127) |
| HSL | hsl(250, 73%, 29%) |
| HSV | hsv(250, 84%, 50%) |
| CMYK | cmyk(70.1%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(17.66, 40.72, -56.19) |
| CIE-LCH | lch(17.66, 69.39, 305.93°) |
| OKLab | oklab(30.85% 0.0239 -0.1623) |
| OKLCH | oklch(30.85% 0.164 278.4) |
| XYZ | xyz(4.8790, 2.4443, 20.2892) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.36
Royal
#0C1793
ΔE00 3.44
Indigo (survey)
#380282
ΔE00 3.53
Navy
#000080
ΔE00 3.94
Darkblue
#00008B
ΔE00 3.98
Deep Blue
#040273
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26147F #6D7F14
analogous
#14387F #26147F #5C147F
triadic
#26147F #7F2614 #147F26
tetradic
#26147F #7F1438 #6D7F14 #147F5C
square
#26147F #7F1438 #6D7F14 #147F5C
split-complementary
#26147F #7F5C14 #387F14
monochromatic
#08041A #160C4A #26147F #361CB4 #4D2FDE
Accessibility & contrast
On white
14.10
#26147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#26147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26147F
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26147F | 1.00 | 14.10 | 1.49 | 14.10 |
| #FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #26147f; /* rgb */ color: rgb(38, 20, 127); /* oklch */ color: oklch(30.9% 0.164 278.4);
Tailwind
colors: {
custom: {
50: '#6f56a5',
500: '#26147f',
950: '#000000',
},
}SCSS
$custom: #26147f; $custom-light: #6f56a5; $custom-dark: #000000;
JSON
{
"hex": "#26147f",
"rgb": {
"r": 38,
"g": 20,
"b": 127
},
"hsl": {
"h": 250.093,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.30852,
"c": 0.16406,
"h": 278.4
},
"luminance": 0.02445
}Semantic roles & 50–950 ramp
primary
#26147F
secondary
#A0B43B
accent
#EF38D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F