#320C2D#320C2D

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

Color values

HEX#320C2D
RGBrgb(50, 12, 45)
HSLhsl(308, 61%, 12%)
HSVhsv(308, 76%, 20%)
CMYKcmyk(0%, 76%, 10%, 80.4%)
CIE-LABlab(10.04, 23.96, -12.70)
CIE-LCHlch(10.04, 27.12, 332.08°)
OKLaboklab(23.45% 0.0691 -0.0347)
OKLCHoklch(23.45% 0.077 333.3)
XYZxyz(1.9205, 1.1307, 2.5992)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320C2D #0C3211
analogous
#240C32 #320C2D #320C1A
triadic
#320C2D #2D320C #0C2D32
tetradic
#320C2D #32240C #0C3211 #0C1A32
square
#320C2D #32240C #0C3211 #0C1A32
split-complementary
#320C2D #1A320C #0C3224
monochromatic
#190616 #190616 #320C2D #631859 #952486

Accessibility & contrast

On white

17.13
#320C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320C2D
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320C2D#FFFFFF#000000##FFFFFF
##320C2D1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B182E
Deuteranopia (green-blind)
#181E2C
Tritanopia (blue-blind)
#350F1B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #320c2d;
/* rgb */ color: rgb(50, 12, 45);
/* oklch */ color: oklch(23.5% 0.077 333.3);
Tailwind
colors: {
  custom: {
    50: '#6c4e66',
    500: '#320c2d',
    950: '#000000',
  },
}
SCSS
$custom: #320c2d;
$custom-light: #6c4e66;
$custom-dark: #000000;
JSON
{
  "hex": "#320c2d",
  "rgb": {
    "r": 50,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 307.895,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23453,
    "c": 0.07734,
    "h": 333.3
  },
  "luminance": 0.01131
}

Semantic roles & 50–950 ramp

primary
#320C2D
secondary
#2C6E35
accent
#E45943
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070205
muted
#7A787A

Preview Lab

Preview with #320C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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