#380F6A#380F6A
#380F6A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.142 H 297.0°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).
Color values
| HEX | #380F6A |
|---|---|
| RGB | rgb(56, 15, 106) |
| HSL | hsl(267, 75%, 24%) |
| HSV | hsv(267, 86%, 42%) |
| CMYK | cmyk(47.2%, 85.8%, 0%, 58.4%) |
| CIE-LAB | lab(16.62, 38.98, -44.30) |
| CIE-LCH | lch(16.62, 59.01, 311.34°) |
| OKLab | oklab(29.91% 0.0646 -0.127) |
| OKLCH | oklch(29.91% 0.142 297) |
| XYZ | xyz(4.4025, 2.2229, 13.8300) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.96
Indigo (survey)
#380282
ΔE00 4.37
Indigo
#4B0082
ΔE00 4.82
Dark Indigo
#1F0954
ΔE00 5.07
Midnight Blue
#191970
ΔE00 5.85
Dark Royal Blue
#02066F
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#380F6A #416A0F
analogous
#0F136A #380F6A #650F6A
triadic
#380F6A #6A380F #0F6A38
tetradic
#380F6A #6A0F13 #416A0F #0F6A65
square
#380F6A #6A0F13 #416A0F #0F6A65
split-complementary
#380F6A #6A650F #136A0F
monochromatic
#0E041B #1C0734 #380F6A #5417A0 #711ED5
Accessibility & contrast
On white
14.54
#380F6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#380F6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #380F6A
14.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##380F6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##380F6A | 1.00 | 14.54 | 1.44 | 14.54 |
| #FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002868
Tritanopia (blue-blind)
#2A293D
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #380f6a; /* rgb */ color: rgb(56, 15, 106); /* oklch */ color: oklch(29.9% 0.142 297.0);
Tailwind
colors: {
custom: {
50: '#755495',
500: '#380f6a',
950: '#000000',
},
}SCSS
$custom: #380f6a; $custom-light: #755495; $custom-dark: #000000;
JSON
{
"hex": "#380f6a",
"rgb": {
"r": 56,
"g": 15,
"b": 106
},
"hsl": {
"h": 267.033,
"s": 75.207,
"l": 23.725
},
"oklch": {
"l": 0.29912,
"c": 0.14243,
"h": 297
},
"luminance": 0.02223
}Semantic roles & 50–950 ramp
primary
#380F6A
secondary
#70A232
accent
#F2369D
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E