#320D31#320D31

#320D31 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.080 H 328.8°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#320D31
RGBrgb(50, 13, 49)
HSLhsl(302, 59%, 12%)
HSVhsv(302, 74%, 20%)
CMYKcmyk(0%, 74%, 2%, 80.4%)
CIE-LABlab(10.47, 24.27, -14.96)
CIE-LCHlch(10.47, 28.51, 328.35°)
OKLaboklab(23.85% 0.0681 -0.0412)
OKLCHoklch(23.85% 0.08 328.8)
XYZxyz(2.0137, 1.1878, 3.0284)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320D31 #0D320E
analogous
#210D32 #320D31 #320D1E
triadic
#320D31 #31320D #0D3132
tetradic
#320D31 #32210D #0D320E #0D1E32
square
#320D31 #32210D #0D320E #0D1E32
split-complementary
#320D31 #1E320D #0D3221
monochromatic
#180618 #180618 #320D31 #631A61 #932690

Accessibility & contrast

On white

16.97
#320D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#320D31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320D31
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320D31#FFFFFF#000000##FFFFFF
##320D311.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091932
Deuteranopia (green-blind)
#161E30
Tritanopia (blue-blind)
#34111D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #320d31;
/* rgb */ color: rgb(50, 13, 49);
/* oklch */ color: oklch(23.8% 0.080 328.8);
Tailwind
colors: {
  custom: {
    50: '#6b4f69',
    500: '#320d31',
    950: '#000000',
  },
}
SCSS
$custom: #320d31;
$custom-light: #6b4f69;
$custom-dark: #000000;
JSON
{
  "hex": "#320d31",
  "rgb": {
    "r": 50,
    "g": 13,
    "b": 49
  },
  "hsl": {
    "h": 301.622,
    "s": 58.73,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23846,
    "c": 0.07962,
    "h": 328.8
  },
  "luminance": 0.01188
}

Semantic roles & 50–950 ramp

primary
#320D31
secondary
#2E6D2F
accent
#E24A46
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #320D31

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

Preview Lab → · Contrast checker → · Palette generator →

#320D31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva