#3A2290#3A2290
#3A2290 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.168 H 284.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2290 |
|---|---|
| RGB | rgb(58, 34, 144) |
| HSL | hsl(253, 62%, 35%) |
| HSV | hsv(253, 76%, 56%) |
| CMYK | cmyk(59.7%, 76.4%, 0%, 43.5%) |
| CIE-LAB | lab(23.86, 41.21, -56.58) |
| CIE-LCH | lch(23.86, 70.00, 306.07°) |
| OKLab | oklab(36.19% 0.0413 -0.163) |
| OKLCH | oklch(36.19% 0.168 284.2) |
| XYZ | xyz(7.3494, 4.0567, 26.7759) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.60
Indigo Blue
#3A18B1
ΔE00 4.84
Indigo (survey)
#380282
ΔE00 5.37
Cobalt Blue
#030AA7
ΔE00 5.95
Indigo
#4B0082
ΔE00 6.19
Ultramarine
#2000B1
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2290 #789022
analogous
#224190 #3A2290 #712290
triadic
#3A2290 #903A22 #22903A
tetradic
#3A2290 #902241 #789022 #229071
square
#3A2290 #902241 #789022 #229071
split-complementary
#3A2290 #907122 #419022
monochromatic
#120B2D #26165E #3A2290 #4E2EC2 #7255D7
Accessibility & contrast
On white
11.59
#3A2290 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3A2290 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2290
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2290 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2290 | 1.00 | 11.59 | 1.81 | 11.59 |
| #FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#074157
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3a2290; /* rgb */ color: rgb(58, 34, 144); /* oklch */ color: oklch(36.2% 0.168 284.2);
Tailwind
colors: {
custom: {
50: '#7b60b2',
500: '#3a2290',
950: '#000000',
},
}SCSS
$custom: #3a2290; $custom-light: #7b60b2; $custom-dark: #000000;
JSON
{
"hex": "#3a2290",
"rgb": {
"r": 58,
"g": 34,
"b": 144
},
"hsl": {
"h": 253.091,
"s": 61.798,
"l": 34.902
},
"oklch": {
"l": 0.36187,
"c": 0.16815,
"h": 284.2
},
"luminance": 0.04057
}Semantic roles & 50–950 ramp
primary
#3A2290
secondary
#A4BB53
accent
#E543C2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980