#320B2E#320B2E

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

Color values

HEX#320B2E
RGBrgb(50, 11, 46)
HSLhsl(306, 64%, 12%)
HSVhsv(306, 78%, 20%)
CMYKcmyk(0%, 78%, 8%, 80.4%)
CIE-LABlab(9.91, 24.67, -13.63)
CIE-LCHlch(9.91, 28.18, 331.08°)
OKLaboklab(23.38% 0.0707 -0.0374)
OKLCHoklch(23.38% 0.08 332.2)
XYZxyz(1.9282, 1.1149, 2.6979)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320B2E #0B320F
analogous
#230B32 #320B2E #320B1B
triadic
#320B2E #2E320B #0B2E32
tetradic
#320B2E #32230B #0B320F #0B1B32
square
#320B2E #32230B #0B320F #0B1B32
split-complementary
#320B2E #1B320B #0B3223
monochromatic
#190617 #190617 #320B2E #64165C #96218A

Accessibility & contrast

On white

17.17
#320B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320B2E
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320B2E#FFFFFF#000000##FFFFFF
##320B2E1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09182F
Deuteranopia (green-blind)
#171D2D
Tritanopia (blue-blind)
#340F1B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320b2e;
/* rgb */ color: rgb(50, 11, 46);
/* oklch */ color: oklch(23.4% 0.080 332.2);
Tailwind
colors: {
  custom: {
    50: '#6c4d67',
    500: '#320b2e',
    950: '#000000',
  },
}
SCSS
$custom: #320b2e;
$custom-light: #6c4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#320b2e",
  "rgb": {
    "r": 50,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 306.154,
    "s": 63.934,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23384,
    "c": 0.07998,
    "h": 332.2
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#320B2E
secondary
#2A6F31
accent
#E75241
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #320B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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