#3A304C#3A304C
#3A304C is a dark, muted violet. Relative luminance 0.035; OKLCH L 33.3% C 0.050 H 300.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).
Color values
| HEX | #3A304C |
|---|---|
| RGB | rgb(58, 48, 76) |
| HSL | hsl(261, 23%, 24%) |
| HSV | hsv(261, 37%, 30%) |
| CMYK | cmyk(23.7%, 36.8%, 0%, 70.2%) |
| CIE-LAB | lab(22.07, 11.34, -15.62) |
| CIE-LCH | lch(22.07, 19.30, 305.99°) |
| OKLab | oklab(33.27% 0.0251 -0.0432) |
| OKLCH | oklch(33.27% 0.05 300.1) |
| XYZ | xyz(4.1061, 3.5352, 7.3021) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 9.40
Navy (survey)
#01153E
ΔE00 12.58
Eggplant
#380835
ΔE00 12.76
Dark Purple
#35063E
ΔE00 12.82
Dark
#1B2431
ΔE00 13.18
Grape
#6C3461
ΔE00 13.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A304C #424C30
analogous
#30344C #3A304C #48304C
triadic
#3A304C #4C3A30 #304C3A
tetradic
#3A304C #4C3034 #424C30 #304C48
square
#3A304C #4C3034 #424C30 #304C48
split-complementary
#3A304C #4C4830 #344C30
monochromatic
#0E0C13 #1D1826 #3A304C #574872 #735F97
Accessibility & contrast
On white
12.30
#3A304C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#3A304C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A304C
12.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A304C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A304C | 1.00 | 12.30 | 1.71 | 12.30 |
| #FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A354D
Deuteranopia (green-blind)
#2B354B
Tritanopia (blue-blind)
#37343A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3a304c; /* rgb */ color: rgb(58, 48, 76); /* oklch */ color: oklch(33.3% 0.050 300.1);
Tailwind
colors: {
custom: {
50: '#70687e',
500: '#3a304c',
950: '#000000',
},
}SCSS
$custom: #3a304c; $custom-light: #70687e; $custom-dark: #000000;
JSON
{
"hex": "#3a304c",
"rgb": {
"r": 58,
"g": 48,
"b": 76
},
"hsl": {
"h": 261.429,
"s": 22.581,
"l": 24.314
},
"oklch": {
"l": 0.33265,
"c": 0.04992,
"h": 300.1
},
"luminance": 0.03535
}Semantic roles & 50–950 ramp
primary
#3A304C
secondary
#717D5B
accent
#BF69A0
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07060A
muted
#7A7A7C