#281577#281577
#281577 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.153 H 281.0°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #281577 |
|---|---|
| RGB | rgb(40, 21, 119) |
| HSL | hsl(252, 70%, 27%) |
| HSV | hsv(252, 82%, 47%) |
| CMYK | cmyk(66.4%, 82.4%, 0%, 53.3%) |
| CIE-LAB | lab(17.08, 37.92, -52.04) |
| CIE-LCH | lch(17.08, 64.39, 306.08°) |
| OKLab | oklab(30.22% 0.0291 -0.1502) |
| OKLCH | oklch(30.22% 0.153 281) |
| XYZ | xyz(4.4720, 2.3190, 17.6611) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.66
Indigo (survey)
#380282
ΔE00 3.93
Dark Royal Blue
#02066F
ΔE00 4.12
Deep Blue
#040273
ΔE00 4.32
Navy
#000080
ΔE00 4.58
Royal
#0C1793
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281577 #647715
analogous
#153377 #281577 #591577
triadic
#281577 #772815 #157728
tetradic
#281577 #771533 #647715 #157759
square
#281577 #771533 #647715 #157759
split-complementary
#281577 #775915 #337715
monochromatic
#09051A #170C43 #281577 #391EAB #4E2DDA
Accessibility & contrast
On white
14.35
#281577 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#281577 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281577
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281577 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281577 | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7A
Deuteranopia (green-blind)
#002675
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #281577; /* rgb */ color: rgb(40, 21, 119); /* oklch */ color: oklch(30.2% 0.153 281.0);
Tailwind
colors: {
custom: {
50: '#6e569f',
500: '#281577',
950: '#000000',
},
}SCSS
$custom: #281577; $custom-light: #6e569f; $custom-dark: #000000;
JSON
{
"hex": "#281577",
"rgb": {
"r": 40,
"g": 21,
"b": 119
},
"hsl": {
"h": 251.633,
"s": 70,
"l": 27.451
},
"oklch": {
"l": 0.30217,
"c": 0.15298,
"h": 281
},
"luminance": 0.02319
}Semantic roles & 50–950 ramp
primary
#281577
secondary
#97AD3B
accent
#ED3BCA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E