#27107F#27107F
#27107F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.5% C 0.167 H 279.4°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).
Color values
| HEX | #27107F |
|---|---|
| RGB | rgb(39, 16, 127) |
| HSL | hsl(252, 78%, 28%) |
| HSV | hsv(252, 87%, 50%) |
| CMYK | cmyk(69.3%, 87.4%, 0%, 50.2%) |
| CIE-LAB | lab(17.15, 42.59, -57.04) |
| CIE-LCH | lch(17.15, 71.19, 306.74°) |
| OKLab | oklab(30.52% 0.0272 -0.1647) |
| OKLCH | oklch(30.52% 0.167 279.4) |
| XYZ | xyz(4.8515, 2.3338, 20.2694) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.92
Navy
#000080
ΔE00 3.50
Darkblue
#00008B
ΔE00 3.57
Royal
#0C1793
ΔE00 3.71
Deep Blue
#040273
ΔE00 3.87
Midnight Blue
#191970
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27107F #687F10
analogous
#10317F #27107F #5E107F
triadic
#27107F #7F2710 #107F27
tetradic
#27107F #7F1031 #687F10 #107F5E
square
#27107F #7F1031 #687F10 #107F5E
split-complementary
#27107F #7F5E10 #317F10
monochromatic
#08031B #160949 #27107F #3817B5 #4D26E4
Accessibility & contrast
On white
14.32
#27107F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#27107F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27107F
14.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27107F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27107F | 1.00 | 14.32 | 1.47 | 14.32 |
| #FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #27107f; /* rgb */ color: rgb(39, 16, 127); /* oklch */ color: oklch(30.5% 0.167 279.4);
Tailwind
colors: {
custom: {
50: '#7054a5',
500: '#27107f',
950: '#000000',
},
}SCSS
$custom: #27107f; $custom-light: #7054a5; $custom-dark: #000000;
JSON
{
"hex": "#27107f",
"rgb": {
"r": 39,
"g": 16,
"b": 127
},
"hsl": {
"h": 252.432,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.30521,
"c": 0.16692,
"h": 279.4
},
"luminance": 0.02334
}Semantic roles & 50–950 ramp
primary
#27107F
secondary
#9BB536
accent
#F434CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F