#281583#281583
#281583 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.168 H 278.7°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #281583 |
|---|---|
| RGB | rgb(40, 21, 131) |
| HSL | hsl(250, 72%, 30%) |
| HSV | hsv(250, 84%, 51%) |
| CMYK | cmyk(69.5%, 84%, 0%, 48.6%) |
| CIE-LAB | lab(18.48, 41.67, -57.38) |
| CIE-LCH | lch(18.48, 70.91, 305.99°) |
| OKLab | oklab(31.6% 0.0253 -0.1657) |
| OKLCH | oklch(31.6% 0.168 278.7) |
| XYZ | xyz(5.2387, 2.6257, 21.6991) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.06
Indigo (survey)
#380282
ΔE00 3.45
Midnight Blue
#191970
ΔE00 3.84
Darkblue
#00008B
ΔE00 3.99
Navy
#000080
ΔE00 4.20
Deep Blue
#040273
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281583 #708315
analogous
#153983 #281583 #5F1583
triadic
#281583 #832815 #158328
tetradic
#281583 #831539 #708315 #15835F
square
#281583 #831539 #708315 #15835F
split-complementary
#281583 #835F15 #398315
monochromatic
#08041A #180D4E #281583 #381DB8 #5134DE
Accessibility & contrast
On white
13.77
#281583 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#281583 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281583
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281583 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281583 | 1.00 | 13.77 | 1.53 | 13.77 |
| #FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#00374D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #281583; /* rgb */ color: rgb(40, 21, 131); /* oklch */ color: oklch(31.6% 0.168 278.7);
Tailwind
colors: {
custom: {
50: '#7157a8',
500: '#281583',
950: '#000000',
},
}SCSS
$custom: #281583; $custom-light: #7157a8; $custom-dark: #000000;
JSON
{
"hex": "#281583",
"rgb": {
"r": 40,
"g": 21,
"b": 131
},
"hsl": {
"h": 250.364,
"s": 72.368,
"l": 29.804
},
"oklch": {
"l": 0.31597,
"c": 0.16762,
"h": 278.7
},
"luminance": 0.02626
}Semantic roles & 50–950 ramp
primary
#281583
secondary
#A2B83C
accent
#EF39D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F