#27107E#27107E
#27107E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.166 H 279.6°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #27107E |
|---|---|
| RGB | rgb(39, 16, 126) |
| HSL | hsl(253, 77%, 28%) |
| HSV | hsv(253, 87%, 49%) |
| CMYK | cmyk(69%, 87.3%, 0%, 50.6%) |
| CIE-LAB | lab(17.03, 42.29, -56.61) |
| CIE-LCH | lch(17.03, 70.66, 306.76°) |
| OKLab | oklab(30.4% 0.0276 -0.1634) |
| OKLCH | oklch(30.4% 0.166 279.6) |
| XYZ | xyz(4.7867, 2.3079, 19.9278) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.95
Navy
#000080
ΔE00 3.52
Darkblue
#00008B
ΔE00 3.65
Midnight Blue
#191970
ΔE00 3.79
Deep Blue
#040273
ΔE00 3.82
Royal
#0C1793
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27107E #677E10
analogous
#10307E #27107E #5E107E
triadic
#27107E #7E2710 #107E27
tetradic
#27107E #7E1030 #677E10 #107E5E
square
#27107E #7E1030 #677E10 #107E5E
split-complementary
#27107E #7E5E10 #307E10
monochromatic
#08031B #160948 #27107E #3817B4 #4D25E3
Accessibility & contrast
On white
14.37
#27107E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#27107E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27107E
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27107E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27107E | 1.00 | 14.37 | 1.46 | 14.37 |
| #FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #27107e; /* rgb */ color: rgb(39, 16, 126); /* oklch */ color: oklch(30.4% 0.166 279.6);
Tailwind
colors: {
custom: {
50: '#7054a5',
500: '#27107e',
950: '#000000',
},
}SCSS
$custom: #27107e; $custom-light: #7054a5; $custom-dark: #000000;
JSON
{
"hex": "#27107e",
"rgb": {
"r": 39,
"g": 16,
"b": 126
},
"hsl": {
"h": 252.545,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.304,
"c": 0.16574,
"h": 279.6
},
"luminance": 0.02308
}Semantic roles & 50–950 ramp
primary
#27107E
secondary
#9AB436
accent
#F434CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F