#320A2C#320A2C

#320A2C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.080 H 334.4°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#320A2C
RGBrgb(50, 10, 44)
HSLhsl(309, 67%, 12%)
HSVhsv(309, 80%, 20%)
CMYKcmyk(0%, 80%, 12%, 80.4%)
CIE-LABlab(9.62, 24.76, -12.61)
CIE-LCHlch(9.62, 27.79, 333.01°)
OKLaboklab(23.13% 0.0719 -0.0344)
OKLCHoklch(23.13% 0.08 334.4)
XYZxyz(1.8786, 1.0772, 2.4914)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320A2C #0A3210
analogous
#240A32 #320A2C #320A18
triadic
#320A2C #2C320A #0A2C32
tetradic
#320A2C #32240A #0A3210 #0A1832
square
#320A2C #32240A #0A3210 #0A1832
split-complementary
#320A2C #18320A #0A3224
monochromatic
#1A0516 #1A0516 #320A2C #651459 #981E86

Accessibility & contrast

On white

17.28
#320A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#320A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320A2C
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320A2C#FFFFFF#000000##FFFFFF
##320A2C1.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172D
Deuteranopia (green-blind)
#171D2B
Tritanopia (blue-blind)
#350D19
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320a2c;
/* rgb */ color: rgb(50, 10, 44);
/* oklch */ color: oklch(23.1% 0.080 334.4);
Tailwind
colors: {
  custom: {
    50: '#6c4d65',
    500: '#320a2c',
    950: '#000000',
  },
}
SCSS
$custom: #320a2c;
$custom-light: #6c4d65;
$custom-dark: #000000;
JSON
{
  "hex": "#320a2c",
  "rgb": {
    "r": 50,
    "g": 10,
    "b": 44
  },
  "hsl": {
    "h": 309,
    "s": 66.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2313,
    "c": 0.0797,
    "h": 334.4
  },
  "luminance": 0.01077
}

Semantic roles & 50–950 ramp

primary
#320A2C
secondary
#286F33
accent
#EA583E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #320A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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