#3A0E60#3A0E60
#3A0E60 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.133 H 302.9°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3A0E60 |
|---|---|
| RGB | rgb(58, 14, 96) |
| HSL | hsl(272, 75%, 22%) |
| HSV | hsv(272, 85%, 38%) |
| CMYK | cmyk(39.6%, 85.4%, 0%, 62.4%) |
| CIE-LAB | lab(15.79, 37.08, -39.04) |
| CIE-LCH | lch(15.79, 53.84, 313.53°) |
| OKLab | oklab(29.1% 0.0721 -0.1114) |
| OKLCH | oklch(29.1% 0.133 302.9) |
| XYZ | xyz(4.0128, 2.0581, 11.2499) |
| Luminance | 0.0206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.93
Dark Indigo
#1F0954
ΔE00 4.92
Indigo
#4B0082
ΔE00 6.12
Indigo (survey)
#380282
ΔE00 6.30
Dark Violet
#34013F
ΔE00 6.92
Deep Purple
#36013F
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A0E60 #34600E
analogous
#110E60 #3A0E60 #600E5D
triadic
#3A0E60 #603A0E #0E603A
tetradic
#3A0E60 #60110E #34600E #0E5D60
square
#3A0E60 #60110E #34600E #0E5D60
split-complementary
#3A0E60 #5D600E #0E6011
monochromatic
#10041B #1A062B #3A0E60 #5A1695 #7B1ECB
Accessibility & contrast
On white
14.88
#3A0E60 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#3A0E60 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A0E60
14.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A0E60 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A0E60 | 1.00 | 14.88 | 1.41 | 14.88 |
| #FFFFFF | 14.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#322437
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #3a0e60; /* rgb */ color: rgb(58, 14, 96); /* oklch */ color: oklch(29.1% 0.133 302.9);
Tailwind
colors: {
custom: {
50: '#75538e',
500: '#3a0e60',
950: '#000000',
},
}SCSS
$custom: #3a0e60; $custom-light: #75538e; $custom-dark: #000000;
JSON
{
"hex": "#3a0e60",
"rgb": {
"r": 58,
"g": 14,
"b": 96
},
"hsl": {
"h": 272.195,
"s": 74.545,
"l": 21.569
},
"oklch": {
"l": 0.29101,
"c": 0.13275,
"h": 302.9
},
"luminance": 0.02058
}Semantic roles & 50–950 ramp
primary
#3A0E60
secondary
#619A30
accent
#F1378D
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D