#26137C#26137C
#26137C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.161 H 279.1°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).
Color values
| HEX | #26137C |
|---|---|
| RGB | rgb(38, 19, 124) |
| HSL | hsl(251, 73%, 28%) |
| HSV | hsv(251, 85%, 49%) |
| CMYK | cmyk(69.4%, 84.7%, 0%, 51.4%) |
| CIE-LAB | lab(17.14, 40.26, -55.14) |
| CIE-LCH | lch(17.14, 68.27, 306.13°) |
| OKLab | oklab(30.39% 0.0254 -0.1592) |
| OKLCH | oklch(30.39% 0.161 279.1) |
| XYZ | xyz(4.6691, 2.3327, 19.2691) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.17
Indigo (survey)
#380282
ΔE00 3.50
Royal
#0C1793
ΔE00 3.87
Navy
#000080
ΔE00 3.88
Dark Royal Blue
#02066F
ΔE00 3.95
Deep Blue
#040273
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26137C #697C13
analogous
#13347C #26137C #5A137C
triadic
#26137C #7C2613 #137C26
tetradic
#26137C #7C1334 #697C13 #137C5A
square
#26137C #7C1334 #697C13 #137C5A
split-complementary
#26137C #7C5A13 #347C13
monochromatic
#08041B #160B47 #26137C #361BB1 #4B2BDF
Accessibility & contrast
On white
14.32
#26137C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#26137C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26137C
14.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26137C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26137C | 1.00 | 14.32 | 1.47 | 14.32 |
| #FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #26137c; /* rgb */ color: rgb(38, 19, 124); /* oklch */ color: oklch(30.4% 0.161 279.1);
Tailwind
colors: {
custom: {
50: '#6f55a3',
500: '#26137c',
950: '#000000',
},
}SCSS
$custom: #26137c; $custom-light: #6f55a3; $custom-dark: #000000;
JSON
{
"hex": "#26137c",
"rgb": {
"r": 38,
"g": 19,
"b": 124
},
"hsl": {
"h": 250.857,
"s": 73.427,
"l": 28.039
},
"oklch": {
"l": 0.30388,
"c": 0.16125,
"h": 279.1
},
"luminance": 0.02333
}Semantic roles & 50–950 ramp
primary
#26137C
secondary
#9CB239
accent
#F038CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F