#302C36#302C36
#302C36 is a dark, near-neutral violet. Relative luminance 0.027; OKLCH L 30.1% C 0.019 H 303.4°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #302C36 |
|---|---|
| RGB | rgb(48, 44, 54) |
| HSL | hsl(264, 10%, 19%) |
| HSV | hsv(264, 19%, 21%) |
| CMYK | cmyk(11.1%, 18.5%, 0%, 78.8%) |
| CIE-LAB | lab(18.78, 4.22, -5.75) |
| CIE-LCH | lch(18.78, 7.13, 306.31°) |
| OKLab | oklab(30.15% 0.0103 -0.0155) |
| OKLCH | oklch(30.15% 0.019 303.4) |
| XYZ | xyz(2.7853, 2.6961, 3.8630) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | neutral |
| Family | violet |
Closest named colors
Dark
#1B2431
ΔE00 7.62
Dark Grey
#363737
ΔE00 8.14
Onyx
#353839
ΔE00 8.59
Charcoal (survey)
#343837
ΔE00 9.92
Gunmetal
#2A3439
ΔE00 9.94
Charcoal Grey
#3C4142
ΔE00 10.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C36 #32362C
analogous
#2C2D36 #302C36 #352C36
triadic
#302C36 #36302C #2C3630
tetradic
#302C36 #362C2D #32362C #2C3635
square
#302C36 #362C2D #32362C #2C3635
split-complementary
#302C36 #36352C #2D362C
monochromatic
#0F0E11 #121114 #302C36 #4E4758 #6C6379
Accessibility & contrast
On white
13.64
#302C36 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#302C36 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C36
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C36 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C36 | 1.00 | 13.64 | 1.54 | 13.64 |
| #FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A2E36
Deuteranopia (green-blind)
#2B2E36
Tritanopia (blue-blind)
#2F2D2F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #302c36; /* rgb */ color: rgb(48, 44, 54); /* oklch */ color: oklch(30.1% 0.019 303.4);
Tailwind
colors: {
custom: {
50: '#68656d',
500: '#302c36',
950: '#000000',
},
}SCSS
$custom: #302c36; $custom-light: #68656d; $custom-dark: #000000;
JSON
{
"hex": "#302c36",
"rgb": {
"r": 48,
"g": 44,
"b": 54
},
"hsl": {
"h": 264,
"s": 10.204,
"l": 19.216
},
"oklch": {
"l": 0.30145,
"c": 0.0186,
"h": 303.4
},
"luminance": 0.02696
}Semantic roles & 50–950 ramp
primary
#302C36
secondary
#606658
accent
#B3759A
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060507
muted
#7A7A7A