#320D2C#320D2C

#320D2C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.075 H 334.6°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#320D2C
RGBrgb(50, 13, 44)
HSLhsl(310, 59%, 12%)
HSVhsv(310, 74%, 20%)
CMYKcmyk(0%, 74%, 12%, 80.4%)
CIE-LABlab(10.17, 23.24, -11.75)
CIE-LCHlch(10.17, 26.04, 333.17°)
OKLaboklab(23.53% 0.0674 -0.032)
OKLCHoklch(23.53% 0.075 334.6)
XYZxyz(1.9140, 1.1480, 2.5032)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320D2C #0D3213
analogous
#260D32 #320D2C #320D19
triadic
#320D2C #2C320D #0D2C32
tetradic
#320D2C #32260D #0D3213 #0D1932
square
#320D2C #32260D #0D3213 #0D1932
split-complementary
#320D2C #19320D #0D3226
monochromatic
#180615 #180615 #320D2C #631A57 #932681

Accessibility & contrast

On white

17.08
#320D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#320D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320D2C
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320D2C#FFFFFF#000000##FFFFFF
##320D2C1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182D
Deuteranopia (green-blind)
#191E2B
Tritanopia (blue-blind)
#350F1A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #320d2c;
/* rgb */ color: rgb(50, 13, 44);
/* oklch */ color: oklch(23.5% 0.075 334.6);
Tailwind
colors: {
  custom: {
    50: '#6b4e65',
    500: '#320d2c',
    950: '#000000',
  },
}
SCSS
$custom: #320d2c;
$custom-light: #6b4e65;
$custom-dark: #000000;
JSON
{
  "hex": "#320d2c",
  "rgb": {
    "r": 50,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 309.73,
    "s": 58.73,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2353,
    "c": 0.07462,
    "h": 334.6
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#320D2C
secondary
#2E6D38
accent
#E25F46
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070205
muted
#7A787A

Preview Lab

Preview with #320D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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