#3A209F#3A209F
#3A209F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.188 H 281.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #3A209F |
|---|---|
| RGB | rgb(58, 32, 159) |
| HSL | hsl(252, 66%, 37%) |
| HSV | hsv(252, 80%, 62%) |
| CMYK | cmyk(63.5%, 79.9%, 0%, 37.6%) |
| CIE-LAB | lab(25.06, 46.76, -63.82) |
| CIE-LCH | lch(25.06, 79.12, 306.23°) |
| OKLab | oklab(37.49% 0.0383 -0.1841) |
| OKLCH | oklch(37.49% 0.188 281.8) |
| XYZ | xyz(8.5175, 4.4351, 33.2014) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.64
Royal
#0C1793
ΔE00 4.65
Ultramarine
#2000B1
ΔE00 4.73
Cobalt Blue
#030AA7
ΔE00 4.83
Royal Blue (survey)
#0504AA
ΔE00 5.12
True Blue
#010FCC
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A209F #859F20
analogous
#20469F #3A209F #79209F
triadic
#3A209F #9F3A20 #209F3A
tetradic
#3A209F #9F2046 #859F20 #209F79
square
#3A209F #9F2046 #859F20 #209F79
split-complementary
#3A209F #9F7920 #469F20
monochromatic
#150B39 #27166C #3A209F #4D2AD2 #765BDE
Accessibility & contrast
On white
11.13
#3A209F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3A209F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A209F
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A209F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A209F | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3a209f; /* rgb */ color: rgb(58, 32, 159); /* oklch */ color: oklch(37.5% 0.188 281.8);
Tailwind
colors: {
custom: {
50: '#7e60bd',
500: '#3a209f',
950: '#000000',
},
}SCSS
$custom: #3a209f; $custom-light: #7e60bd; $custom-dark: #000000;
JSON
{
"hex": "#3a209f",
"rgb": {
"r": 58,
"g": 32,
"b": 159
},
"hsl": {
"h": 252.283,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.37495,
"c": 0.18808,
"h": 281.8
},
"luminance": 0.04436
}Semantic roles & 50–950 ramp
primary
#3A209F
secondary
#ADC259
accent
#E93EC6
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981