#381283#381283
#381283 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.168 H 288.4°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #381283 |
|---|---|
| RGB | rgb(56, 18, 131) |
| HSL | hsl(260, 76%, 29%) |
| HSV | hsv(260, 86%, 51%) |
| CMYK | cmyk(57.3%, 86.3%, 0%, 48.6%) |
| CIE-LAB | lab(19.69, 44.63, -55.32) |
| CIE-LCH | lch(19.69, 71.08, 308.89°) |
| OKLab | oklab(32.83% 0.053 -0.1592) |
| OKLCH | oklch(32.83% 0.168 288.4) |
| XYZ | xyz(5.9427, 2.9118, 21.7172) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 1.96
Indigo
#4B0082
ΔE00 3.69
Royal
#0C1793
ΔE00 4.88
Darkblue
#00008B
ΔE00 5.23
Navy
#000080
ΔE00 5.48
Midnight Blue
#191970
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#381283 #5D8312
analogous
#122583 #381283 #711283
triadic
#381283 #833812 #128338
tetradic
#381283 #831225 #5D8312 #128371
square
#381283 #831225 #5D8312 #128371
split-complementary
#381283 #837112 #258312
monochromatic
#0C041B #210B4D #381283 #4F19B9 #6A2DE2
Accessibility & contrast
On white
13.27
#381283 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#381283 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #381283
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##381283 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##381283 | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#17354D
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #381283; /* rgb */ color: rgb(56, 18, 131); /* oklch */ color: oklch(32.8% 0.168 288.4);
Tailwind
colors: {
custom: {
50: '#7957a8',
500: '#381283',
950: '#000000',
},
}SCSS
$custom: #381283; $custom-light: #7957a8; $custom-dark: #000000;
JSON
{
"hex": "#381283",
"rgb": {
"r": 56,
"g": 18,
"b": 131
},
"hsl": {
"h": 260.177,
"s": 75.839,
"l": 29.216
},
"oklch": {
"l": 0.32826,
"c": 0.16781,
"h": 288.4
},
"luminance": 0.02912
}Semantic roles & 50–950 ramp
primary
#381283
secondary
#8DB838
accent
#F235B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F