#320A2D#320A2D

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

Color values

HEX#320A2D
RGBrgb(50, 10, 45)
HSLhsl(308, 67%, 12%)
HSVhsv(308, 80%, 20%)
CMYKcmyk(0%, 80%, 10%, 80.4%)
CIE-LABlab(9.68, 24.96, -13.26)
CIE-LCHlch(9.68, 28.26, 332.02°)
OKLaboklab(23.19% 0.072 -0.0363)
OKLCHoklch(23.19% 0.081 333.3)
XYZxyz(1.8976, 1.0848, 2.5916)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320A2D #0A320F
analogous
#230A32 #320A2D #320A19
triadic
#320A2D #2D320A #0A2D32
tetradic
#320A2D #32230A #0A320F #0A1932
square
#320A2D #32230A #0A320F #0A1932
split-complementary
#320A2D #19320A #0A3223
monochromatic
#1A0517 #1A0517 #320A2D #65145B #981E89

Accessibility & contrast

On white

17.26
#320A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320A2D
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320A2D#FFFFFF#000000##FFFFFF
##320A2D1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172E
Deuteranopia (green-blind)
#171D2C
Tritanopia (blue-blind)
#350D1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320a2d;
/* rgb */ color: rgb(50, 10, 45);
/* oklch */ color: oklch(23.2% 0.081 333.3);
Tailwind
colors: {
  custom: {
    50: '#6c4d66',
    500: '#320a2d',
    950: '#000000',
  },
}
SCSS
$custom: #320a2d;
$custom-light: #6c4d66;
$custom-dark: #000000;
JSON
{
  "hex": "#320a2d",
  "rgb": {
    "r": 50,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 307.5,
    "s": 66.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23194,
    "c": 0.08064,
    "h": 333.3
  },
  "luminance": 0.01085
}

Semantic roles & 50–950 ramp

primary
#320A2D
secondary
#286F31
accent
#EA543E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #320A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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