#320C2E#320C2E

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

Color values

HEX#320C2E
RGBrgb(50, 12, 46)
HSLhsl(306, 61%, 12%)
HSVhsv(306, 76%, 20%)
CMYKcmyk(0%, 76%, 8%, 80.4%)
CIE-LABlab(10.10, 24.16, -13.34)
CIE-LCHlch(10.10, 27.60, 331.09°)
OKLaboklab(23.52% 0.0693 -0.0366)
OKLCHoklch(23.52% 0.078 332.2)
XYZxyz(1.9400, 1.1385, 2.7018)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320C2E #0C3210
analogous
#230C32 #320C2E #320C1B
triadic
#320C2E #2E320C #0C2E32
tetradic
#320C2E #32230C #0C3210 #0C1B32
square
#320C2E #32230C #0C3210 #0C1B32
split-complementary
#320C2E #1B320C #0C3223
monochromatic
#190617 #190617 #320C2E #63185B #952489

Accessibility & contrast

On white

17.11
#320C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320C2E
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320C2E#FFFFFF#000000##FFFFFF
##320C2E1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182F
Deuteranopia (green-blind)
#171E2D
Tritanopia (blue-blind)
#340F1B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #320c2e;
/* rgb */ color: rgb(50, 12, 46);
/* oklch */ color: oklch(23.5% 0.078 332.2);
Tailwind
colors: {
  custom: {
    50: '#6c4e67',
    500: '#320c2e',
    950: '#000000',
  },
}
SCSS
$custom: #320c2e;
$custom-light: #6c4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#320c2e",
  "rgb": {
    "r": 50,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 306.316,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23516,
    "c": 0.07831,
    "h": 332.2
  },
  "luminance": 0.01138
}

Semantic roles & 50–950 ramp

primary
#320C2E
secondary
#2C6E33
accent
#E45443
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #320C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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