#3B334A#3B334A
#3B334A is a dark, muted violet. Relative luminance 0.038; OKLCH L 33.9% C 0.041 H 300.2°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3B334A |
|---|---|
| RGB | rgb(59, 51, 74) |
| HSL | hsl(261, 18%, 25%) |
| HSV | hsv(261, 31%, 29%) |
| CMYK | cmyk(20.3%, 31.1%, 0%, 71%) |
| CIE-LAB | lab(22.97, 9.12, -12.88) |
| CIE-LCH | lch(22.97, 15.78, 305.29°) |
| OKLab | oklab(33.95% 0.0206 -0.0354) |
| OKLCH | oklch(33.95% 0.041 300.2) |
| XYZ | xyz(4.2232, 3.7919, 6.9866) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 9.56
Dark
#1B2431
ΔE00 12.15
Dark Grey
#363737
ΔE00 13.53
Navy (survey)
#01153E
ΔE00 13.70
Dusk
#4E5481
ΔE00 13.81
Onyx
#353839
ΔE00 13.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B334A #424A33
analogous
#33374A #3B334A #47334A
triadic
#3B334A #4A3B33 #334A3B
tetradic
#3B334A #4A3337 #424A33 #334A47
square
#3B334A #4A3337 #424A33 #334A47
split-complementary
#3B334A #4A4733 #374A33
monochromatic
#0E0C12 #1E1A26 #3B334A #584C6E #756592
Accessibility & contrast
On white
11.94
#3B334A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#3B334A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B334A
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B334A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B334A | 1.00 | 11.94 | 1.76 | 11.94 |
| #FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E374B
Deuteranopia (green-blind)
#2F3749
Tritanopia (blue-blind)
#38363B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3b334a; /* rgb */ color: rgb(59, 51, 74); /* oklch */ color: oklch(33.9% 0.041 300.2);
Tailwind
colors: {
custom: {
50: '#716a7c',
500: '#3b334a',
950: '#000000',
},
}SCSS
$custom: #3b334a; $custom-light: #716a7c; $custom-dark: #000000;
JSON
{
"hex": "#3b334a",
"rgb": {
"r": 59,
"g": 51,
"b": 74
},
"hsl": {
"h": 260.87,
"s": 18.4,
"l": 24.51
},
"oklch": {
"l": 0.33949,
"c": 0.04092,
"h": 300.2
},
"luminance": 0.03792
}Semantic roles & 50–950 ramp
primary
#3B334A
secondary
#717A5E
accent
#BB6DA0
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#070609
muted
#7A7A7B