#3B2190#3B2190
#3B2190 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.169 H 284.9°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3B2190 |
|---|---|
| RGB | rgb(59, 33, 144) |
| HSL | hsl(254, 63%, 35%) |
| HSV | hsv(254, 77%, 56%) |
| CMYK | cmyk(59%, 77.1%, 0%, 43.5%) |
| CIE-LAB | lab(23.77, 41.88, -56.72) |
| CIE-LCH | lch(23.77, 70.50, 306.44°) |
| OKLab | oklab(36.15% 0.0435 -0.1634) |
| OKLCH | oklch(36.15% 0.169 284.9) |
| XYZ | xyz(7.3800, 4.0307, 26.7693) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.65
Indigo Blue
#3A18B1
ΔE00 4.77
Indigo (survey)
#380282
ΔE00 5.15
Cobalt Blue
#030AA7
ΔE00 5.90
Indigo
#4B0082
ΔE00 5.92
Ultramarine
#2000B1
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B2190 #769021
analogous
#213F90 #3B2190 #732190
triadic
#3B2190 #903B21 #21903B
tetradic
#3B2190 #90213F #769021 #219073
square
#3B2190 #90213F #769021 #219073
split-complementary
#3B2190 #907321 #3F9021
monochromatic
#120A2C #27165E #3B2190 #4F2CC2 #7354D8
Accessibility & contrast
On white
11.63
#3B2190 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3B2190 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B2190
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B2190 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B2190 | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#0D4057
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3b2190; /* rgb */ color: rgb(59, 33, 144); /* oklch */ color: oklch(36.2% 0.169 284.9);
Tailwind
colors: {
custom: {
50: '#7c60b2',
500: '#3b2190',
950: '#000000',
},
}SCSS
$custom: #3b2190; $custom-light: #7c60b2; $custom-dark: #000000;
JSON
{
"hex": "#3b2190",
"rgb": {
"r": 59,
"g": 33,
"b": 144
},
"hsl": {
"h": 254.054,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.36151,
"c": 0.16907,
"h": 284.9
},
"luminance": 0.04031
}Semantic roles & 50–950 ramp
primary
#3B2190
secondary
#A3BB51
accent
#E642BF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980