#302032#302032

#302032 is a dark, muted purple. Relative luminance 0.019; OKLCH L 27.1% C 0.040 H 322.8°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#302032
RGBrgb(48, 32, 50)
HSLhsl(293, 22%, 16%)
HSVhsv(293, 36%, 20%)
CMYKcmyk(4%, 36%, 0%, 80.4%)
CIE-LABlab(14.91, 11.63, -8.81)
CIE-LCHlch(14.91, 14.59, 322.83°)
OKLaboklab(27.11% 0.0315 -0.0239)
OKLCHoklch(27.11% 0.04 322.8)
XYZxyz(2.3111, 1.8918, 3.2604)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302032 #223220
analogous
#272032 #302032 #32202B
triadic
#302032 #323020 #203230
tetradic
#302032 #322720 #223220 #202B32
square
#302032 #322720 #223220 #202B32
split-complementary
#302032 #2B3220 #203227
monochromatic
#120C13 #120C13 #302032 #543857 #78507D

Accessibility & contrast

On white

15.24
#302032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#302032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302032
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302032#FFFFFF#000000##FFFFFF
##3020321.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2433
Deuteranopia (green-blind)
#222631
Tritanopia (blue-blind)
#312226
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #302032;
/* rgb */ color: rgb(48, 32, 50);
/* oklch */ color: oklch(27.1% 0.040 322.8);
Tailwind
colors: {
  custom: {
    50: '#685b69',
    500: '#302032',
    950: '#000000',
  },
}
SCSS
$custom: #302032;
$custom-light: #685b69;
$custom-dark: #000000;
JSON
{
  "hex": "#302032",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 50
  },
  "hsl": {
    "h": 293.333,
    "s": 21.951,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27105,
    "c": 0.03957,
    "h": 322.8
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#302032
secondary
#4D644A
accent
#BE6973
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #302032

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

Preview Lab → · Contrast checker → · Palette generator →

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