#302832#302832

#302832 is a dark, muted purple. Relative luminance 0.024; OKLCH L 29.0% C 0.021 H 319.5°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#302832
RGBrgb(48, 40, 50)
HSLhsl(288, 11%, 18%)
HSVhsv(288, 20%, 20%)
CMYKcmyk(4%, 20%, 0%, 80.4%)
CIE-LABlab(17.35, 6.00, -5.12)
CIE-LCHlch(17.35, 7.88, 319.55°)
OKLaboklab(28.98% 0.0161 -0.0137)
OKLCHoklch(28.98% 0.021 319.5)
XYZxyz(2.5534, 2.3763, 3.3412)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302832 #2A3228
analogous
#2B2832 #302832 #32282F
triadic
#302832 #323028 #283230
tetradic
#302832 #322B28 #2A3228 #282F32
square
#302832 #322B28 #2A3228 #282F32
split-complementary
#302832 #2F3228 #28322B
monochromatic
#100E11 #100E11 #302832 #514354 #715E76

Accessibility & contrast

On white

14.24
#302832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#302832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302832
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302832#FFFFFF#000000##FFFFFF
##3028321.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A32
Deuteranopia (green-blind)
#292B32
Tritanopia (blue-blind)
#30292B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302832;
/* rgb */ color: rgb(48, 40, 50);
/* oklch */ color: oklch(29.0% 0.021 319.5);
Tailwind
colors: {
  custom: {
    50: '#686169',
    500: '#302832',
    950: '#000000',
  },
}
SCSS
$custom: #302832;
$custom-light: #686169;
$custom-dark: #000000;
JSON
{
  "hex": "#302832",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 50
  },
  "hsl": {
    "h": 288,
    "s": 11.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2898,
    "c": 0.02114,
    "h": 319.5
  },
  "luminance": 0.02376
}

Semantic roles & 50–950 ramp

primary
#302832
secondary
#576254
accent
#B47481
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #302832

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

Preview Lab → · Contrast checker → · Palette generator →

#302832 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva