#271280#271280
#271280 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.167 H 279.0°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #271280 |
|---|---|
| RGB | rgb(39, 18, 128) |
| HSL | hsl(251, 75%, 29%) |
| HSV | hsv(251, 86%, 50%) |
| CMYK | cmyk(69.5%, 85.9%, 0%, 49.8%) |
| CIE-LAB | lab(17.56, 42.03, -57.00) |
| CIE-LCH | lch(17.56, 70.82, 306.41°) |
| OKLab | oklab(30.84% 0.0261 -0.1646) |
| OKLCH | oklch(30.84% 0.167 279) |
| XYZ | xyz(4.9480, 2.4220, 20.6246) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.14
Royal
#0C1793
ΔE00 3.47
Darkblue
#00008B
ΔE00 3.72
Navy
#000080
ΔE00 3.72
Midnight Blue
#191970
ΔE00 3.75
Deep Blue
#040273
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#271280 #6B8012
analogous
#123480 #271280 #5E1280
triadic
#271280 #802712 #128027
tetradic
#271280 #801234 #6B8012 #12805E
square
#271280 #801234 #6B8012 #12805E
split-complementary
#271280 #805E12 #348012
monochromatic
#08041B #170A4A #271280 #371AB6 #4E2BE1
Accessibility & contrast
On white
14.15
#271280 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#271280 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #271280
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##271280 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##271280 | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #271280; /* rgb */ color: rgb(39, 18, 128); /* oklch */ color: oklch(30.8% 0.167 279.0);
Tailwind
colors: {
custom: {
50: '#7055a6',
500: '#271280',
950: '#000000',
},
}SCSS
$custom: #271280; $custom-light: #7055a6; $custom-dark: #000000;
JSON
{
"hex": "#271280",
"rgb": {
"r": 39,
"g": 18,
"b": 128
},
"hsl": {
"h": 251.455,
"s": 75.342,
"l": 28.627
},
"oklch": {
"l": 0.30839,
"c": 0.16663,
"h": 279
},
"luminance": 0.02422
}Semantic roles & 50–950 ramp
primary
#271280
secondary
#9EB638
accent
#F236CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F