#342F45#342F45
#342F45 is a dark, muted violet. Relative luminance 0.032; OKLCH L 32.0% C 0.039 H 294.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).
Color values
| HEX | #342F45 |
|---|---|
| RGB | rgb(52, 47, 69) |
| HSL | hsl(254, 19%, 23%) |
| HSV | hsv(254, 32%, 27%) |
| CMYK | cmyk(24.6%, 31.9%, 0%, 72.9%) |
| CIE-LAB | lab(20.80, 7.83, -12.92) |
| CIE-LCH | lch(20.80, 15.10, 301.23°) |
| OKLab | oklab(32.03% 0.0162 -0.0356) |
| OKLCH | oklch(32.03% 0.039 294.5) |
| XYZ | xyz(3.5066, 3.1927, 6.0606) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 8.11
Dark
#1B2431
ΔE00 10.31
Navy (survey)
#01153E
ΔE00 12.34
Dark Grey
#363737
ΔE00 12.94
Marine
#042E60
ΔE00 13.12
Onyx
#353839
ΔE00 13.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#342F45 #40452F
analogous
#2F3545 #342F45 #3F2F45
triadic
#342F45 #45342F #2F4534
tetradic
#342F45 #452F35 #40452F #2F453F
square
#342F45 #452F35 #40452F #2F453F
split-complementary
#342F45 #453F2F #35452F
monochromatic
#0E0C12 #191621 #342F45 #4F4869 #6B618E
Accessibility & contrast
On white
12.82
#342F45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#342F45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #342F45
12.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##342F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##342F45 | 1.00 | 12.82 | 1.64 | 12.82 |
| #FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3246
Deuteranopia (green-blind)
#2A3244
Tritanopia (blue-blind)
#313337
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #342f45; /* rgb */ color: rgb(52, 47, 69); /* oklch */ color: oklch(32.0% 0.039 294.5);
Tailwind
colors: {
custom: {
50: '#6c6778',
500: '#342f45',
950: '#000000',
},
}SCSS
$custom: #342f45; $custom-light: #6c6778; $custom-dark: #000000;
JSON
{
"hex": "#342f45",
"rgb": {
"r": 52,
"g": 47,
"b": 69
},
"hsl": {
"h": 253.636,
"s": 18.966,
"l": 22.745
},
"oklch": {
"l": 0.32025,
"c": 0.03912,
"h": 294.5
},
"luminance": 0.03193
}Semantic roles & 50–950 ramp
primary
#342F45
secondary
#6F765A
accent
#BC6CAA
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#070609
muted
#7A7A7B