#27137E#27137E
#27137E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.163 H 279.3°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).
Color values
| HEX | #27137E |
|---|---|
| RGB | rgb(39, 19, 126) |
| HSL | hsl(251, 74%, 28%) |
| HSV | hsv(251, 85%, 49%) |
| CMYK | cmyk(69%, 84.9%, 0%, 50.6%) |
| CIE-LAB | lab(17.47, 40.97, -55.87) |
| CIE-LCH | lch(17.47, 69.28, 306.25°) |
| OKLab | oklab(30.71% 0.0263 -0.1613) |
| OKLCH | oklch(30.71% 0.163 279.3) |
| XYZ | xyz(4.8343, 2.4030, 19.9437) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.32
Midnight Blue
#191970
ΔE00 3.43
Royal
#0C1793
ΔE00 3.67
Navy
#000080
ΔE00 3.89
Darkblue
#00008B
ΔE00 3.99
Deep Blue
#040273
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27137E #6A7E13
analogous
#13347E #27137E #5C137E
triadic
#27137E #7E2713 #137E27
tetradic
#27137E #7E1334 #6A7E13 #137E5C
square
#27137E #7E1334 #6A7E13 #137E5C
split-complementary
#27137E #7E5C13 #347E13
monochromatic
#08041B #170B49 #27137E #371BB3 #4E2CDF
Accessibility & contrast
On white
14.18
#27137E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#27137E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27137E
14.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27137E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27137E | 1.00 | 14.18 | 1.48 | 14.18 |
| #FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #27137e; /* rgb */ color: rgb(39, 19, 126); /* oklch */ color: oklch(30.7% 0.163 279.3);
Tailwind
colors: {
custom: {
50: '#6f55a5',
500: '#27137e',
950: '#000000',
},
}SCSS
$custom: #27137e; $custom-light: #6f55a5; $custom-dark: #000000;
JSON
{
"hex": "#27137e",
"rgb": {
"r": 39,
"g": 19,
"b": 126
},
"hsl": {
"h": 251.215,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.30708,
"c": 0.16345,
"h": 279.3
},
"luminance": 0.02403
}Semantic roles & 50–950 ramp
primary
#27137E
secondary
#9DB439
accent
#F037CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F