#302C3C#302C3C

#302C3C is a dark, muted violet. Relative luminance 0.028; OKLCH L 30.4% C 0.029 H 296.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#302C3C
RGBrgb(48, 44, 60)
HSLhsl(255, 15%, 20%)
HSVhsv(255, 27%, 24%)
CMYKcmyk(20%, 26.7%, 0%, 76.5%)
CIE-LABlab(19.04, 5.84, -9.50)
CIE-LCHlch(19.04, 11.15, 301.55°)
OKLaboklab(30.43% 0.0127 -0.026)
OKLCHoklch(30.43% 0.029 296.1)
XYZxyz(2.9350, 2.7560, 4.6514)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C3C #383C2C
analogous
#2C303C #302C3C #382C3C
triadic
#302C3C #3C302C #2C3C30
tetradic
#302C3C #3C2C30 #383C2C #2C3C38
square
#302C3C #3C2C30 #383C2C #2C3C38
split-complementary
#302C3C #3C382C #303C2C
monochromatic
#0E0D12 #141219 #302C3C #4C465F #686083

Accessibility & contrast

On white

13.54
#302C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302C3C
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C3C#FFFFFF#000000##FFFFFF
##302C3C1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302c3c;
/* rgb */ color: rgb(48, 44, 60);
/* oklch */ color: oklch(30.4% 0.029 296.1);
Tailwind
colors: {
  custom: {
    50: '#686571',
    500: '#302c3c',
    950: '#000000',
  },
}
SCSS
$custom: #302c3c;
$custom-light: #686571;
$custom-dark: #000000;
JSON
{
  "hex": "#302c3c",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 60
  },
  "hsl": {
    "h": 255,
    "s": 15.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30428,
    "c": 0.02894,
    "h": 296.1
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#302C3C
secondary
#676C57
accent
#B870A6
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060507
muted
#7A7A7A

Preview Lab

Preview with #302C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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