#3A2190#3A2190
#3A2190 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.169 H 284.4°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2190 |
|---|---|
| RGB | rgb(58, 33, 144) |
| HSL | hsl(254, 63%, 35%) |
| HSV | hsv(254, 77%, 56%) |
| CMYK | cmyk(59.7%, 77.1%, 0%, 43.5%) |
| CIE-LAB | lab(23.67, 41.74, -56.89) |
| CIE-LCH | lch(23.67, 70.56, 306.27°) |
| OKLab | oklab(36.06% 0.042 -0.1639) |
| OKLCH | oklch(36.06% 0.169 284.4) |
| XYZ | xyz(7.3213, 4.0004, 26.7665) |
| Luminance | 0.0400 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.51
Indigo Blue
#3A18B1
ΔE00 4.77
Indigo (survey)
#380282
ΔE00 5.17
Cobalt Blue
#030AA7
ΔE00 5.82
Indigo
#4B0082
ΔE00 6.01
Ultramarine
#2000B1
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2190 #779021
analogous
#213F90 #3A2190 #722190
triadic
#3A2190 #903A21 #21903A
tetradic
#3A2190 #90213F #779021 #219072
square
#3A2190 #90213F #779021 #219072
split-complementary
#3A2190 #907221 #3F9021
monochromatic
#120A2C #26165E #3A2190 #4E2CC2 #7154D8
Accessibility & contrast
On white
11.67
#3A2190 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3A2190 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2190
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2190 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2190 | 1.00 | 11.67 | 1.80 | 11.67 |
| #FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#074057
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3a2190; /* rgb */ color: rgb(58, 33, 144); /* oklch */ color: oklch(36.1% 0.169 284.4);
Tailwind
colors: {
custom: {
50: '#7b60b2',
500: '#3a2190',
950: '#000000',
},
}SCSS
$custom: #3a2190; $custom-light: #7b60b2; $custom-dark: #000000;
JSON
{
"hex": "#3a2190",
"rgb": {
"r": 58,
"g": 33,
"b": 144
},
"hsl": {
"h": 253.514,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.36057,
"c": 0.16919,
"h": 284.4
},
"luminance": 0.04001
}Semantic roles & 50–950 ramp
primary
#3A2190
secondary
#A3BB51
accent
#E642C1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980