#26146C#26146C
#26146C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.141 H 282.3°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).
Color values
| HEX | #26146C |
|---|---|
| RGB | rgb(38, 20, 108) |
| HSL | hsl(252, 69%, 25%) |
| HSV | hsv(252, 81%, 42%) |
| CMYK | cmyk(64.8%, 81.5%, 0%, 57.6%) |
| CIE-LAB | lab(15.46, 34.69, -47.59) |
| CIE-LCH | lch(15.46, 58.89, 306.09°) |
| OKLab | oklab(28.67% 0.03 -0.1373) |
| OKLCH | oklch(28.67% 0.141 282.3) |
| XYZ | xyz(3.7554, 1.9948, 14.3716) |
| Luminance | 0.0199 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.43
Dark Royal Blue
#02066F
ΔE00 4.00
Darkblue (survey)
#030764
ΔE00 4.02
Dark Indigo
#1F0954
ΔE00 4.40
Deep Blue
#040273
ΔE00 4.48
Indigo (survey)
#380282
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26146C #5A6C14
analogous
#142E6C #26146C #52146C
triadic
#26146C #6C2614 #146C26
tetradic
#26146C #6C142E #5A6C14 #146C52
square
#26146C #6C142E #5A6C14 #146C52
split-complementary
#26146C #6C5214 #2E6C14
monochromatic
#09051A #140A38 #26146C #381EA0 #4A27D3
Accessibility & contrast
On white
15.01
#26146C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#26146C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26146C
15.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26146C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26146C | 1.00 | 15.01 | 1.40 | 15.01 |
| #FFFFFF | 15.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00246A
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #26146c; /* rgb */ color: rgb(38, 20, 108); /* oklch */ color: oklch(28.7% 0.141 282.3);
Tailwind
colors: {
custom: {
50: '#6b5497',
500: '#26146c',
950: '#000000',
},
}SCSS
$custom: #26146c; $custom-light: #6b5497; $custom-dark: #000000;
JSON
{
"hex": "#26146c",
"rgb": {
"r": 38,
"g": 20,
"b": 108
},
"hsl": {
"h": 252.273,
"s": 68.75,
"l": 25.098
},
"oklch": {
"l": 0.2867,
"c": 0.1405,
"h": 282.3
},
"luminance": 0.01995
}Semantic roles & 50–950 ramp
primary
#26146C
secondary
#8DA339
accent
#EC3CC8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E