#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
RGBrgb(48, 44, 54)
HSLhsl(264, 10%, 19%)
HSVhsv(264, 19%, 21%)
CMYKcmyk(11.1%, 18.5%, 0%, 78.8%)
CIE-LABlab(18.78, 4.22, -5.75)
CIE-LCHlch(18.78, 7.13, 306.31°)
OKLaboklab(30.15% 0.0103 -0.0155)
OKLCHoklch(30.15% 0.019 303.4)
XYZxyz(2.7853, 2.6961, 3.8630)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

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
##302C361.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.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

Preview Lab

Preview with #302C36

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

Preview Lab → · Contrast checker → · Palette generator →

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