#320B2F#320B2F

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

Color values

HEX#320B2F
RGBrgb(50, 11, 47)
HSLhsl(305, 64%, 12%)
HSVhsv(305, 78%, 20%)
CMYKcmyk(0%, 78%, 6%, 80.4%)
CIE-LABlab(9.98, 24.87, -14.27)
CIE-LCHlch(9.98, 28.67, 330.16°)
OKLaboklab(23.45% 0.0708 -0.0392)
OKLCHoklch(23.45% 0.081 331)
XYZxyz(1.9481, 1.1228, 2.8029)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320B2F #0B320E
analogous
#220B32 #320B2F #320B1C
triadic
#320B2F #2F320B #0B2F32
tetradic
#320B2F #32220B #0B320E #0B1C32
square
#320B2F #32220B #0B320E #0B1C32
split-complementary
#320B2F #1C320B #0B3222
monochromatic
#190618 #190618 #320B2F #64165E #96218D

Accessibility & contrast

On white

17.15
#320B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320B2F
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320B2F#FFFFFF#000000##FFFFFF
##320B2F1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081830
Deuteranopia (green-blind)
#161D2E
Tritanopia (blue-blind)
#340F1B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320b2f;
/* rgb */ color: rgb(50, 11, 47);
/* oklch */ color: oklch(23.4% 0.081 331.0);
Tailwind
colors: {
  custom: {
    50: '#6c4e67',
    500: '#320b2f',
    950: '#000000',
  },
}
SCSS
$custom: #320b2f;
$custom-light: #6c4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#320b2f",
  "rgb": {
    "r": 50,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 304.615,
    "s": 63.934,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23449,
    "c": 0.08096,
    "h": 331
  },
  "luminance": 0.01123
}

Semantic roles & 50–950 ramp

primary
#320B2F
secondary
#2A6F2F
accent
#E74E41
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #320B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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