#320C2F#320C2F

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

Color values

HEX#320C2F
RGBrgb(50, 12, 47)
HSLhsl(305, 61%, 12%)
HSVhsv(305, 76%, 20%)
CMYKcmyk(0%, 76%, 6%, 80.4%)
CIE-LABlab(10.16, 24.37, -13.98)
CIE-LCHlch(10.16, 28.10, 330.15°)
OKLaboklab(23.58% 0.0694 -0.0384)
OKLCHoklch(23.58% 0.079 331)
XYZxyz(1.9599, 1.1464, 2.8068)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320C2F #0C320F
analogous
#220C32 #320C2F #320C1C
triadic
#320C2F #2F320C #0C2F32
tetradic
#320C2F #32220C #0C320F #0C1C32
square
#320C2F #32220C #0C320F #0C1C32
split-complementary
#320C2F #1C320C #0C3222
monochromatic
#190617 #190617 #320C2F #63185D #95248C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##320C2F#FFFFFF#000000##FFFFFF
##320C2F1.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)
#0A1830
Deuteranopia (green-blind)
#171E2E
Tritanopia (blue-blind)
#34101C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #320c2f;
/* rgb */ color: rgb(50, 12, 47);
/* oklch */ color: oklch(23.6% 0.079 331.0);
Tailwind
colors: {
  custom: {
    50: '#6c4e67',
    500: '#320c2f',
    950: '#000000',
  },
}
SCSS
$custom: #320c2f;
$custom-light: #6c4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#320c2f",
  "rgb": {
    "r": 50,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 304.737,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2358,
    "c": 0.0793,
    "h": 331
  },
  "luminance": 0.01146
}

Semantic roles & 50–950 ramp

primary
#320C2F
secondary
#2C6E31
accent
#E45043
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #320C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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