#302A3C#302A3C
#302A3C is a dark, muted violet. Relative luminance 0.026; OKLCH L 29.9% C 0.033 H 299.7°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #302A3C |
|---|---|
| RGB | rgb(48, 42, 60) |
| HSL | hsl(260, 18%, 20%) |
| HSV | hsv(260, 30%, 24%) |
| CMYK | cmyk(20%, 30%, 0%, 76.5%) |
| CIE-LAB | lab(18.41, 7.24, -10.46) |
| CIE-LCH | lch(18.41, 12.72, 304.66°) |
| OKLab | oklab(29.94% 0.0164 -0.0287) |
| OKLCH | oklch(29.94% 0.033 299.7) |
| XYZ | xyz(2.8623, 2.6105, 4.6272) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 8.97
Dark
#1B2431
ΔE00 9.45
Dark Grey
#363737
ΔE00 12.07
Onyx
#353839
ΔE00 12.44
Navy (survey)
#01153E
ΔE00 12.57
Gunmetal
#2A3439
ΔE00 13.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302A3C #363C2A
analogous
#2A2D3C #302A3C #392A3C
triadic
#302A3C #3C302A #2A3C30
tetradic
#302A3C #3C2A2D #363C2A #2A3C39
square
#302A3C #3C2A2D #363C2A #2A3C39
split-complementary
#302A3C #3C392A #2D3C2A
monochromatic
#0E0D12 #131118 #302A3C #4D4360 #6A5C84
Accessibility & contrast
On white
13.80
#302A3C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#302A3C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302A3C
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302A3C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302A3C | 1.00 | 13.80 | 1.52 | 13.80 |
| #FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262D3D
Deuteranopia (green-blind)
#272D3B
Tritanopia (blue-blind)
#2E2D30
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #302a3c; /* rgb */ color: rgb(48, 42, 60); /* oklch */ color: oklch(29.9% 0.033 299.7);
Tailwind
colors: {
custom: {
50: '#686371',
500: '#302a3c',
950: '#000000',
},
}SCSS
$custom: #302a3c; $custom-light: #686371; $custom-dark: #000000;
JSON
{
"hex": "#302a3c",
"rgb": {
"r": 48,
"g": 42,
"b": 60
},
"hsl": {
"h": 260,
"s": 17.647,
"l": 20
},
"oklch": {
"l": 0.29944,
"c": 0.03301,
"h": 299.7
},
"luminance": 0.02611
}Semantic roles & 50–950 ramp
primary
#302A3C
secondary
#656D55
accent
#BA6DA1
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A