#32012B#32012B

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

Color values

HEX#32012B
RGBrgb(50, 1, 43)
HSLhsl(309, 96%, 10%)
HSVhsv(309, 98%, 20%)
CMYKcmyk(0%, 98%, 14%, 80.4%)
CIE-LABlab(7.90, 29.33, -14.57)
CIE-LCHlch(7.90, 32.75, 333.59°)
OKLaboklab(21.88% 0.0859 -0.0399)
OKLCHoklch(21.88% 0.095 335)
XYZxyz(1.7623, 0.8744, 2.3610)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32012B #013208
analogous
#200132 #32012B #320113
triadic
#32012B #2B3201 #012B32
tetradic
#32012B #322001 #013208 #011332
square
#32012B #322001 #013208 #011332
split-complementary
#32012B #133201 #013220
monochromatic
#1E011A #1E011A #32012B #6E025F #AA0392

Accessibility & contrast

On white

17.88
#32012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#32012B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32012B
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32012B#FFFFFF#000000##FFFFFF
##32012B1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01132C
Deuteranopia (green-blind)
#131A2A
Tritanopia (blue-blind)
#350415
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #32012b;
/* rgb */ color: rgb(50, 1, 43);
/* oklch */ color: oklch(21.9% 0.095 335.0);
Tailwind
colors: {
  custom: {
    50: '#6c4864',
    500: '#32012b',
    950: '#000000',
  },
}
SCSS
$custom: #32012b;
$custom-light: #6c4864;
$custom-dark: #000000;
JSON
{
  "hex": "#32012b",
  "rgb": {
    "r": 50,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 308.571,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.21875,
    "c": 0.09469,
    "h": 335
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#32012B
secondary
#177725
accent
#FF4729
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #32012B

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

Preview Lab → · Contrast checker → · Palette generator →

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