#302C3A#302C3A

#302C3A is a dark, muted violet. Relative luminance 0.027; OKLCH L 30.3% C 0.025 H 298.0°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#302C3A
RGBrgb(48, 44, 58)
HSLhsl(257, 14%, 20%)
HSVhsv(257, 24%, 23%)
CMYKcmyk(17.2%, 24.1%, 0%, 77.3%)
CIE-LABlab(18.95, 5.29, -8.26)
CIE-LCHlch(18.95, 9.81, 302.63°)
OKLaboklab(30.33% 0.0119 -0.0225)
OKLCHoklch(30.33% 0.025 298)
XYZxyz(2.8832, 2.7352, 4.3782)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C3A #363A2C
analogous
#2C2F3A #302C3A #372C3A
triadic
#302C3A #3A302C #2C3A30
tetradic
#302C3A #3A2C2F #363A2C #2C3A37
square
#302C3A #3A2C2F #363A2C #2C3A37
split-complementary
#302C3A #3A372C #2F3A2C
monochromatic
#0E0D11 #131217 #302C3A #4D465D #6A6180

Accessibility & contrast

On white

13.57
#302C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#302C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C3A
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C3A#FFFFFF#000000##FFFFFF
##302C3A1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E3B
Deuteranopia (green-blind)
#2A2E3A
Tritanopia (blue-blind)
#2E2E31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302c3a;
/* rgb */ color: rgb(48, 44, 58);
/* oklch */ color: oklch(30.3% 0.025 298.0);
Tailwind
colors: {
  custom: {
    50: '#686570',
    500: '#302c3a',
    950: '#000000',
  },
}
SCSS
$custom: #302c3a;
$custom-light: #686570;
$custom-dark: #000000;
JSON
{
  "hex": "#302c3a",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 58
  },
  "hsl": {
    "h": 257.143,
    "s": 13.725,
    "l": 20
  },
  "oklch": {
    "l": 0.30331,
    "c": 0.02546,
    "h": 298
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

primary
#302C3A
secondary
#656A58
accent
#B771A3
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060507
muted
#7A7A7A

Preview Lab

Preview with #302C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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