#32012C#32012C

#32012C is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.095 H 334.0°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#32012C
RGBrgb(50, 1, 44)
HSLhsl(307, 96%, 10%)
HSVhsv(307, 98%, 20%)
CMYKcmyk(0%, 98%, 12%, 80.4%)
CIE-LABlab(7.97, 29.50, -15.21)
CIE-LCHlch(7.97, 33.19, 332.73°)
OKLaboklab(21.94% 0.0859 -0.0418)
OKLCHoklch(21.94% 0.095 334)
XYZxyz(1.7809, 0.8818, 2.4588)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32012C #013207
analogous
#200132 #32012C #320113
triadic
#32012C #2C3201 #012C32
tetradic
#32012C #322001 #013207 #011332
square
#32012C #322001 #013207 #011332
split-complementary
#32012C #133201 #013220
monochromatic
#1E011A #1E011A #32012C #6E0261 #AA0396

Accessibility & contrast

On white

17.85
#32012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#32012C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32012C
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32012C#FFFFFF#000000##FFFFFF
##32012C1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132D
Deuteranopia (green-blind)
#121A2B
Tritanopia (blue-blind)
#350516
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #32012c;
/* rgb */ color: rgb(50, 1, 44);
/* oklch */ color: oklch(21.9% 0.095 334.0);
Tailwind
colors: {
  custom: {
    50: '#6c4865',
    500: '#32012c',
    950: '#000000',
  },
}
SCSS
$custom: #32012c;
$custom-light: #6c4865;
$custom-dark: #000000;
JSON
{
  "hex": "#32012c",
  "rgb": {
    "r": 50,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 307.347,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.21944,
    "c": 0.09549,
    "h": 334
  },
  "luminance": 0.00882
}

Semantic roles & 50–950 ramp

primary
#32012C
secondary
#177723
accent
#FF4329
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #32012C

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

Preview Lab → · Contrast checker → · Palette generator →

#32012C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva