#3A2F4E#3A2F4E
#3A2F4E is a dark, muted violet. Relative luminance 0.035; OKLCH L 33.2% C 0.055 H 299.7°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2F4E |
|---|---|
| RGB | rgb(58, 47, 78) |
| HSL | hsl(261, 25%, 25%) |
| HSV | hsv(261, 40%, 31%) |
| CMYK | cmyk(25.6%, 39.7%, 0%, 69.4%) |
| CIE-LAB | lab(21.88, 12.59, -17.25) |
| CIE-LCH | lch(21.88, 21.36, 306.12°) |
| OKLab | oklab(33.15% 0.0273 -0.0479) |
| OKLCH | oklch(33.15% 0.055 299.7) |
| XYZ | xyz(4.1363, 3.4826, 7.6605) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 9.40
Dark Purple
#35063E
ΔE00 12.09
Navy (survey)
#01153E
ΔE00 12.16
Eggplant
#380835
ΔE00 12.23
Eggplant Purple
#430541
ΔE00 12.84
Grape
#6C3461
ΔE00 12.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2F4E #434E2F
analogous
#2F344E #3A2F4E #4A2F4E
triadic
#3A2F4E #4E3A2F #2F4E3A
tetradic
#3A2F4E #4E2F34 #434E2F #2F4E4A
square
#3A2F4E #4E2F34 #434E2F #2F4E4A
split-complementary
#3A2F4E #4E4A2F #344E2F
monochromatic
#0E0C13 #1E1828 #3A2F4E #564674 #735D9A
Accessibility & contrast
On white
12.38
#3A2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#3A2F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2F4E
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2F4E | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28344F
Deuteranopia (green-blind)
#29344D
Tritanopia (blue-blind)
#36343A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3a2f4e; /* rgb */ color: rgb(58, 47, 78); /* oklch */ color: oklch(33.2% 0.055 299.7);
Tailwind
colors: {
custom: {
50: '#71677f',
500: '#3a2f4e',
950: '#000000',
},
}SCSS
$custom: #3a2f4e; $custom-light: #71677f; $custom-dark: #000000;
JSON
{
"hex": "#3a2f4e",
"rgb": {
"r": 58,
"g": 47,
"b": 78
},
"hsl": {
"h": 261.29,
"s": 24.8,
"l": 24.51
},
"oklch": {
"l": 0.33154,
"c": 0.05513,
"h": 299.7
},
"luminance": 0.03483
}Semantic roles & 50–950 ramp
primary
#3A2F4E
secondary
#727F5A
accent
#C167A1
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07060A
muted
#7A7A7C