#27167C#27167C
#27167C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.158 H 279.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).
Color values
| HEX | #27167C |
|---|---|
| RGB | rgb(39, 22, 124) |
| HSL | hsl(250, 70%, 29%) |
| HSV | hsv(250, 82%, 49%) |
| CMYK | cmyk(68.5%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(17.74, 38.89, -54.16) |
| CIE-LCH | lch(17.74, 66.68, 305.68°) |
| OKLab | oklab(30.82% 0.0254 -0.1564) |
| OKLCH | oklch(30.82% 0.158 279.2) |
| XYZ | xyz(4.7605, 2.4600, 19.2888) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.88
Royal
#0C1793
ΔE00 3.86
Indigo (survey)
#380282
ΔE00 3.87
Dark Royal Blue
#02066F
ΔE00 4.35
Navy
#000080
ΔE00 4.41
Deep Blue
#040273
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27167C #6B7C16
analogous
#16387C #27167C #5A167C
triadic
#27167C #7C2716 #167C27
tetradic
#27167C #7C1638 #6B7C16 #167C5A
square
#27167C #7C1638 #6B7C16 #167C5A
split-complementary
#27167C #7C5A16 #387C16
monochromatic
#08051A #170D48 #27167C #371FB0 #4E32DB
Accessibility & contrast
On white
14.08
#27167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#27167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27167C
14.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27167C | 1.00 | 14.08 | 1.49 | 14.08 |
| #FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #27167c; /* rgb */ color: rgb(39, 22, 124); /* oklch */ color: oklch(30.8% 0.158 279.2);
Tailwind
colors: {
custom: {
50: '#6f57a3',
500: '#27167c',
950: '#000000',
},
}SCSS
$custom: #27167c; $custom-light: #6f57a3; $custom-dark: #000000;
JSON
{
"hex": "#27167c",
"rgb": {
"r": 39,
"g": 22,
"b": 124
},
"hsl": {
"h": 250,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.30821,
"c": 0.15844,
"h": 279.2
},
"luminance": 0.0246
}Semantic roles & 50–950 ramp
primary
#27167C
secondary
#9EB13D
accent
#ED3BCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F