#3A206F#3A206F
#3A206F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.129 H 293.0°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3A206F |
|---|---|
| RGB | rgb(58, 32, 111) |
| HSL | hsl(260, 55%, 28%) |
| HSV | hsv(260, 71%, 44%) |
| CMYK | cmyk(47.7%, 71.2%, 0%, 56.5%) |
| CIE-LAB | lab(20.36, 32.22, -41.42) |
| CIE-LCH | lch(20.36, 52.48, 307.88°) |
| OKLab | oklab(32.75% 0.0504 -0.1185) |
| OKLCH | oklch(32.75% 0.129 293) |
| XYZ | xyz(5.1299, 3.0801, 15.3601) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.27
Indigo (survey)
#380282
ΔE00 6.24
Royal Purple (survey)
#4B006E
ΔE00 6.38
Indigo
#4B0082
ΔE00 6.49
Dark Indigo
#1F0954
ΔE00 6.83
Dark Royal Blue
#02066F
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A206F #556F20
analogous
#202D6F #3A206F #61206F
triadic
#3A206F #6F3A20 #206F3A
tetradic
#3A206F #6F202D #556F20 #206F61
square
#3A206F #6F202D #556F20 #206F61
split-complementary
#3A206F #6F6120 #2D6F20
monochromatic
#0C0718 #21123F #3A206F #532E9F #6E41C8
Accessibility & contrast
On white
13.00
#3A206F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#3A206F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A206F
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A206F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A206F | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#2A3344
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3a206f; /* rgb */ color: rgb(58, 32, 111); /* oklch */ color: oklch(32.8% 0.129 293.0);
Tailwind
colors: {
custom: {
50: '#765d99',
500: '#3a206f',
950: '#000000',
},
}SCSS
$custom: #3a206f; $custom-light: #765d99; $custom-dark: #000000;
JSON
{
"hex": "#3a206f",
"rgb": {
"r": 58,
"g": 32,
"b": 111
},
"hsl": {
"h": 259.747,
"s": 55.245,
"l": 28.039
},
"oklch": {
"l": 0.32754,
"c": 0.12882,
"h": 293
},
"luminance": 0.0308
}Semantic roles & 50–950 ramp
primary
#3A206F
secondary
#85A348
accent
#DF49AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E