#3A1693#3A1693
#3A1693 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.183 H 285.2°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #3A1693 |
|---|---|
| RGB | rgb(58, 22, 147) |
| HSL | hsl(257, 74%, 33%) |
| HSV | hsv(257, 85%, 58%) |
| CMYK | cmyk(60.5%, 85%, 0%, 42.4%) |
| CIE-LAB | lab(22.23, 47.72, -61.13) |
| CIE-LCH | lch(22.23, 77.55, 307.98°) |
| OKLab | oklab(35.15% 0.0479 -0.1761) |
| OKLCH | oklch(35.15% 0.183 285.2) |
| XYZ | xyz(7.2967, 3.5795, 27.9045) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.63
Royal
#0C1793
ΔE00 4.17
Indigo Blue
#3A18B1
ΔE00 4.17
Cobalt Blue
#030AA7
ΔE00 4.63
Ultramarine
#2000B1
ΔE00 4.77
Indigo
#4B0082
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A1693 #6F9316
analogous
#163093 #3A1693 #781693
triadic
#3A1693 #933A16 #16933A
tetradic
#3A1693 #931630 #6F9316 #169378
square
#3A1693 #931630 #6F9316 #169378
split-complementary
#3A1693 #937816 #309316
monochromatic
#100629 #250E5E #3A1693 #4F1EC8 #6F41E3
Accessibility & contrast
On white
12.24
#3A1693 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#3A1693 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A1693
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A1693 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A1693 | 1.00 | 12.24 | 1.72 | 12.24 |
| #FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#013D57
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3a1693; /* rgb */ color: rgb(58, 22, 147); /* oklch */ color: oklch(35.1% 0.183 285.2);
Tailwind
colors: {
custom: {
50: '#7c5ab4',
500: '#3a1693',
950: '#000000',
},
}SCSS
$custom: #3a1693; $custom-light: #7c5ab4; $custom-dark: #000000;
JSON
{
"hex": "#3a1693",
"rgb": {
"r": 58,
"g": 22,
"b": 147
},
"hsl": {
"h": 257.28,
"s": 73.964,
"l": 33.137
},
"oklch": {
"l": 0.3515,
"c": 0.18254,
"h": 285.2
},
"luminance": 0.0358
}Semantic roles & 50–950 ramp
primary
#3A1693
secondary
#9EC342
accent
#F137BB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980