#302E3A#302E3A

#302E3A is a dark, muted violet. Relative luminance 0.029; OKLCH L 30.8% C 0.021 H 292.7°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#302E3A
RGBrgb(48, 46, 58)
HSLhsl(250, 12%, 20%)
HSVhsv(250, 21%, 23%)
CMYKcmyk(17.2%, 20.7%, 0%, 77.3%)
CIE-LABlab(19.59, 3.90, -7.29)
CIE-LCHlch(19.59, 8.27, 298.14°)
OKLaboklab(30.83% 0.0083 -0.0198)
OKLCHoklch(30.83% 0.021 292.7)
XYZxyz(2.9595, 2.8878, 4.4037)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E3A #383A2E
analogous
#2E323A #302E3A #362E3A
triadic
#302E3A #3A302E #2E3A30
tetradic
#302E3A #3A2E32 #383A2E #2E3A36
square
#302E3A #3A2E32 #383A2E #2E3A36
split-complementary
#302E3A #3A362E #323A2E
monochromatic
#0E0E11 #141318 #302E3A #4C495C #68647E

Accessibility & contrast

On white

13.31
#302E3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#302E3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E3A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E3A#FFFFFF#000000##FFFFFF
##302E3A1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B303B
Deuteranopia (green-blind)
#2C2F3A
Tritanopia (blue-blind)
#2E3032
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #302e3a;
/* rgb */ color: rgb(48, 46, 58);
/* oklch */ color: oklch(30.8% 0.021 292.7);
Tailwind
colors: {
  custom: {
    50: '#686670',
    500: '#302e3a',
    950: '#000000',
  },
}
SCSS
$custom: #302e3a;
$custom-light: #686670;
$custom-dark: #000000;
JSON
{
  "hex": "#302e3a",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 58
  },
  "hsl": {
    "h": 250,
    "s": 11.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30827,
    "c": 0.02148,
    "h": 292.7
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#302E3A
secondary
#676A5A
accent
#B473AA
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060607
muted
#7A7A7A

Preview Lab

Preview with #302E3A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#302E3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva