#320D2F#320D2F

#320D2F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.078 H 331.0°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#320D2F
RGBrgb(50, 13, 47)
HSLhsl(305, 59%, 12%)
HSVhsv(305, 74%, 20%)
CMYKcmyk(0%, 74%, 6%, 80.4%)
CIE-LABlab(10.34, 23.85, -13.69)
CIE-LCHlch(10.34, 27.50, 330.14°)
OKLaboklab(23.72% 0.0679 -0.0376)
OKLCHoklch(23.72% 0.078 331)
XYZxyz(1.9724, 1.1713, 2.8110)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320D2F #0D3210
analogous
#230D32 #320D2F #320D1D
triadic
#320D2F #2F320D #0D2F32
tetradic
#320D2F #32230D #0D3210 #0D1D32
square
#320D2F #32230D #0D3210 #0D1D32
split-complementary
#320D2F #1D320D #0D3223
monochromatic
#180617 #180617 #320D2F #631A5D #93268A

Accessibility & contrast

On white

17.02
#320D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320D2F
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320D2F#FFFFFF#000000##FFFFFF
##320D2F1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1930
Deuteranopia (green-blind)
#171E2E
Tritanopia (blue-blind)
#34111C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #320d2f;
/* rgb */ color: rgb(50, 13, 47);
/* oklch */ color: oklch(23.7% 0.078 331.0);
Tailwind
colors: {
  custom: {
    50: '#6b4f67',
    500: '#320d2f',
    950: '#000000',
  },
}
SCSS
$custom: #320d2f;
$custom-light: #6b4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#320d2f",
  "rgb": {
    "r": 50,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 304.865,
    "s": 58.73,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23716,
    "c": 0.07758,
    "h": 331
  },
  "luminance": 0.01171
}

Semantic roles & 50–950 ramp

primary
#320D2F
secondary
#2E6D33
accent
#E25346
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #320D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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