#27137F#27137F
#27137F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.165 H 279.1°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #27137F |
|---|---|
| RGB | rgb(39, 19, 127) |
| HSL | hsl(251, 74%, 29%) |
| HSV | hsv(251, 85%, 50%) |
| CMYK | cmyk(69.3%, 85%, 0%, 50.2%) |
| CIE-LAB | lab(17.59, 41.27, -56.31) |
| CIE-LCH | lch(17.59, 69.81, 306.24°) |
| OKLab | oklab(30.83% 0.026 -0.1626) |
| OKLCH | oklch(30.83% 0.165 279.1) |
| XYZ | xyz(4.8991, 2.4290, 20.2852) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.29
Midnight Blue
#191970
ΔE00 3.53
Royal
#0C1793
ΔE00 3.55
Navy
#000080
ΔE00 3.87
Darkblue
#00008B
ΔE00 3.91
Deep Blue
#040273
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27137F #6B7F13
analogous
#13357F #27137F #5D137F
triadic
#27137F #7F2713 #137F27
tetradic
#27137F #7F1335 #6B7F13 #137F5D
square
#27137F #7F1335 #6B7F13 #137F5D
split-complementary
#27137F #7F5D13 #357F13
monochromatic
#08041B #170B4A #27137F #371BB4 #4E2DE0
Accessibility & contrast
On white
14.13
#27137F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#27137F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27137F
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27137F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27137F | 1.00 | 14.13 | 1.49 | 14.13 |
| #FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #27137f; /* rgb */ color: rgb(39, 19, 127); /* oklch */ color: oklch(30.8% 0.165 279.1);
Tailwind
colors: {
custom: {
50: '#7055a5',
500: '#27137f',
950: '#000000',
},
}SCSS
$custom: #27137f; $custom-light: #7055a5; $custom-dark: #000000;
JSON
{
"hex": "#27137f",
"rgb": {
"r": 39,
"g": 19,
"b": 127
},
"hsl": {
"h": 251.111,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.30826,
"c": 0.16465,
"h": 279.1
},
"luminance": 0.02429
}Semantic roles & 50–950 ramp
primary
#27137F
secondary
#9EB439
accent
#F137CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F