#321F30#321F30

#321F30 is a dark, muted purple. Relative luminance 0.019; OKLCH L 27.1% C 0.041 H 330.3°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#321F30
RGBrgb(50, 31, 48)
HSLhsl(306, 23%, 16%)
HSVhsv(306, 38%, 20%)
CMYKcmyk(0%, 38%, 4%, 80.4%)
CIE-LABlab(14.80, 12.68, -7.53)
CIE-LCHlch(14.80, 14.75, 329.29°)
OKLaboklab(27.05% 0.0357 -0.0203)
OKLCHoklch(27.05% 0.041 330.3)
XYZxyz(2.3388, 1.8716, 3.0338)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321F30 #1F3221
analogous
#2A1F32 #321F30 #321F26
triadic
#321F30 #30321F #1F3032
tetradic
#321F30 #322A1F #1F3221 #1F2632
square
#321F30 #322A1F #1F3221 #1F2632
split-complementary
#321F30 #26321F #1F322A
monochromatic
#130C12 #130C12 #321F30 #583654 #7E4E79

Accessibility & contrast

On white

15.28
#321F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#321F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321F30
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321F30#FFFFFF#000000##FFFFFF
##321F301.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2431
Deuteranopia (green-blind)
#23262F
Tritanopia (blue-blind)
#332025
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321f30;
/* rgb */ color: rgb(50, 31, 48);
/* oklch */ color: oklch(27.1% 0.041 330.3);
Tailwind
colors: {
  custom: {
    50: '#6a5b68',
    500: '#321f30',
    950: '#000000',
  },
}
SCSS
$custom: #321f30;
$custom-light: #6a5b68;
$custom-dark: #000000;
JSON
{
  "hex": "#321f30",
  "rgb": {
    "r": 50,
    "g": 31,
    "b": 48
  },
  "hsl": {
    "h": 306.316,
    "s": 23.457,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27052,
    "c": 0.04105,
    "h": 330.3
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#321F30
secondary
#48654B
accent
#C07168
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #321F30

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

Preview Lab → · Contrast checker → · Palette generator →

#321F30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva