#27147C#27147C
#27147C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.160 H 279.5°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).
Color values
| HEX | #27147C |
|---|---|
| RGB | rgb(39, 20, 124) |
| HSL | hsl(251, 72%, 28%) |
| HSV | hsv(251, 84%, 49%) |
| CMYK | cmyk(68.5%, 83.9%, 0%, 51.4%) |
| CIE-LAB | lab(17.40, 39.88, -54.72) |
| CIE-LCH | lch(17.40, 67.71, 306.08°) |
| OKLab | oklab(30.59% 0.0265 -0.158) |
| OKLCH | oklch(30.59% 0.16 279.5) |
| XYZ | xyz(4.7238, 2.3865, 19.2766) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.12
Indigo (survey)
#380282
ΔE00 3.55
Royal
#0C1793
ΔE00 3.90
Navy
#000080
ΔE00 4.09
Dark Royal Blue
#02066F
ΔE00 4.13
Deep Blue
#040273
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27147C #697C14
analogous
#14357C #27147C #5B147C
triadic
#27147C #7C2714 #147C27
tetradic
#27147C #7C1435 #697C14 #147C5B
square
#27147C #7C1435 #697C14 #147C5B
split-complementary
#27147C #7C5B14 #357C14
monochromatic
#08041A #160B47 #27147C #381DB1 #4D2DDD
Accessibility & contrast
On white
14.21
#27147C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#27147C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27147C
14.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27147C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27147C | 1.00 | 14.21 | 1.48 | 14.21 |
| #FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #27147c; /* rgb */ color: rgb(39, 20, 124); /* oklch */ color: oklch(30.6% 0.160 279.5);
Tailwind
colors: {
custom: {
50: '#6f56a3',
500: '#27147c',
950: '#000000',
},
}SCSS
$custom: #27147c; $custom-light: #6f56a3; $custom-dark: #000000;
JSON
{
"hex": "#27147c",
"rgb": {
"r": 39,
"g": 20,
"b": 124
},
"hsl": {
"h": 250.962,
"s": 72.222,
"l": 28.235
},
"oklch": {
"l": 0.30585,
"c": 0.1602,
"h": 279.5
},
"luminance": 0.02387
}Semantic roles & 50–950 ramp
primary
#27147C
secondary
#9CB23A
accent
#EF39CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F