#27146E#27146E
#27146E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.143 H 282.5°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).
Color values
| HEX | #27146E |
|---|---|
| RGB | rgb(39, 20, 110) |
| HSL | hsl(253, 69%, 25%) |
| HSV | hsv(253, 82%, 43%) |
| CMYK | cmyk(64.5%, 81.8%, 0%, 56.9%) |
| CIE-LAB | lab(15.78, 35.46, -48.36) |
| CIE-LCH | lch(15.78, 59.96, 306.25°) |
| OKLab | oklab(28.99% 0.031 -0.1395) |
| OKLCH | oklch(28.99% 0.143 282.5) |
| XYZ | xyz(3.9005, 2.0572, 14.9404) |
| Luminance | 0.0206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.48
Dark Royal Blue
#02066F
ΔE00 4.00
Darkblue (survey)
#030764
ΔE00 4.17
Deep Blue
#040273
ΔE00 4.41
Dark Indigo
#1F0954
ΔE00 4.69
Indigo (survey)
#380282
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27146E #5B6E14
analogous
#142E6E #27146E #54146E
triadic
#27146E #6E2714 #146E27
tetradic
#27146E #6E142E #5B6E14 #146E54
square
#27146E #6E142E #5B6E14 #146E54
split-complementary
#27146E #6E5414 #2E6E14
monochromatic
#09051A #150B3A #27146E #391DA2 #4C27D6
Accessibility & contrast
On white
14.88
#27146E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#27146E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27146E
14.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27146E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27146E | 1.00 | 14.88 | 1.41 | 14.88 |
| #FFFFFF | 14.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00246C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #27146e; /* rgb */ color: rgb(39, 20, 110); /* oklch */ color: oklch(29.0% 0.143 282.5);
Tailwind
colors: {
custom: {
50: '#6c5599',
500: '#27146e',
950: '#000000',
},
}SCSS
$custom: #27146e; $custom-light: #6c5599; $custom-dark: #000000;
JSON
{
"hex": "#27146e",
"rgb": {
"r": 39,
"g": 20,
"b": 110
},
"hsl": {
"h": 252.667,
"s": 69.231,
"l": 25.49
},
"oklch": {
"l": 0.28988,
"c": 0.14286,
"h": 282.5
},
"luminance": 0.02057
}Semantic roles & 50–950 ramp
primary
#27146E
secondary
#8EA539
accent
#EC3CC7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E