#380F76#380F76
#380F76 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.156 H 292.6°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #380F76 |
|---|---|
| RGB | rgb(56, 15, 118) |
| HSL | hsl(264, 77%, 26%) |
| HSV | hsv(264, 87%, 46%) |
| CMYK | cmyk(52.5%, 87.3%, 0%, 53.7%) |
| CIE-LAB | lab(17.87, 42.22, -50.02) |
| CIE-LCH | lch(17.87, 65.46, 310.16°) |
| OKLab | oklab(31.16% 0.0599 -0.1437) |
| OKLCH | oklch(31.16% 0.156 292.6) |
| XYZ | xyz(5.0708, 2.4902, 17.3495) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.47
Indigo
#4B0082
ΔE00 3.68
Royal Purple (survey)
#4B006E
ΔE00 4.55
Midnight Blue
#191970
ΔE00 5.35
Deep Blue
#040273
ΔE00 5.70
Dark Royal Blue
#02066F
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#380F76 #4D760F
analogous
#0F1A76 #380F76 #6B0F76
triadic
#380F76 #76380F #0F7638
tetradic
#380F76 #760F1A #4D760F #0F766B
square
#380F76 #760F1A #4D760F #0F766B
split-complementary
#380F76 #766B0F #1A760F
monochromatic
#0D031B #1E0840 #380F76 #5216AC #6C1DE2
Accessibility & contrast
On white
14.02
#380F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#380F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #380F76
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##380F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##380F76 | 1.00 | 14.02 | 1.50 | 14.02 |
| #FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#232F44
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #380f76; /* rgb */ color: rgb(56, 15, 118); /* oklch */ color: oklch(31.2% 0.156 292.6);
Tailwind
colors: {
custom: {
50: '#77559f',
500: '#380f76',
950: '#000000',
},
}SCSS
$custom: #380f76; $custom-light: #77559f; $custom-dark: #000000;
JSON
{
"hex": "#380f76",
"rgb": {
"r": 56,
"g": 15,
"b": 118
},
"hsl": {
"h": 263.883,
"s": 77.444,
"l": 26.078
},
"oklch": {
"l": 0.31158,
"c": 0.15571,
"h": 292.6
},
"luminance": 0.0249
}Semantic roles & 50–950 ramp
primary
#380F76
secondary
#7DAD33
accent
#F434A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030F
muted
#7B787E