#27136E#27136E
#27136E is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.144 H 282.7°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).
Color values
| HEX | #27136E |
|---|---|
| RGB | rgb(39, 19, 110) |
| HSL | hsl(253, 71%, 25%) |
| HSV | hsv(253, 83%, 43%) |
| CMYK | cmyk(64.5%, 82.7%, 0%, 56.9%) |
| CIE-LAB | lab(15.61, 35.98, -48.65) |
| CIE-LCH | lch(15.61, 60.51, 306.48°) |
| OKLab | oklab(28.86% 0.0316 -0.1403) |
| OKLCH | oklch(28.86% 0.144 282.7) |
| XYZ | xyz(3.8832, 2.0226, 14.9346) |
| Luminance | 0.0202 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.63
Dark Royal Blue
#02066F
ΔE00 3.87
Darkblue (survey)
#030764
ΔE00 4.07
Deep Blue
#040273
ΔE00 4.25
Indigo (survey)
#380282
ΔE00 4.62
Dark Indigo
#1F0954
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27136E #5A6E13
analogous
#132C6E #27136E #54136E
triadic
#27136E #6E2713 #136E27
tetradic
#27136E #6E132C #5A6E13 #136E54
square
#27136E #6E132C #5A6E13 #136E54
split-complementary
#27136E #6E5413 #2C6E13
monochromatic
#09051A #140A3A #27136E #3A1CA2 #4C25D6
Accessibility & contrast
On white
14.95
#27136E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#27136E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27136E
14.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27136E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27136E | 1.00 | 14.95 | 1.40 | 14.95 |
| #FFFFFF | 14.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00246C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #27136e; /* rgb */ color: rgb(39, 19, 110); /* oklch */ color: oklch(28.9% 0.144 282.7);
Tailwind
colors: {
custom: {
50: '#6c5499',
500: '#27136e',
950: '#000000',
},
}SCSS
$custom: #27136e; $custom-light: #6c5499; $custom-dark: #000000;
JSON
{
"hex": "#27136e",
"rgb": {
"r": 39,
"g": 19,
"b": 110
},
"hsl": {
"h": 253.187,
"s": 70.543,
"l": 25.294
},
"oklch": {
"l": 0.28863,
"c": 0.14383,
"h": 282.7
},
"luminance": 0.02023
}Semantic roles & 50–950 ramp
primary
#27136E
secondary
#8DA538
accent
#ED3AC6
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E