#32012F#32012F

#32012F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.098 H 331.1°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#32012F
RGBrgb(50, 1, 47)
HSLhsl(304, 96%, 10%)
HSVhsv(304, 98%, 20%)
CMYKcmyk(0%, 98%, 6%, 80.4%)
CIE-LABlab(8.18, 30.03, -17.12)
CIE-LCHlch(8.18, 34.57, 330.32°)
OKLaboklab(22.16% 0.0857 -0.0473)
OKLCHoklch(22.16% 0.098 331.1)
XYZxyz(1.8393, 0.9052, 2.7666)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32012F #013204
analogous
#1C0132 #32012F #320117
triadic
#32012F #2F3201 #012F32
tetradic
#32012F #321C01 #013204 #011732
square
#32012F #321C01 #013204 #011732
split-complementary
#32012F #173201 #01321C
monochromatic
#1E011C #1E011C #32012F #6E0267 #AA03A0

Accessibility & contrast

On white

17.78
#32012F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32012F
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32012F#FFFFFF#000000##FFFFFF
##32012F1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#111A2E
Tritanopia (blue-blind)
#340718
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #32012f;
/* rgb */ color: rgb(50, 1, 47);
/* oklch */ color: oklch(22.2% 0.098 331.1);
Tailwind
colors: {
  custom: {
    50: '#6c4867',
    500: '#32012f',
    950: '#000000',
  },
}
SCSS
$custom: #32012f;
$custom-light: #6c4867;
$custom-dark: #000000;
JSON
{
  "hex": "#32012f",
  "rgb": {
    "r": 50,
    "g": 1,
    "b": 47
  },
  "hsl": {
    "h": 303.673,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.2216,
    "c": 0.09794,
    "h": 331.1
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#32012F
secondary
#17771D
accent
#FF3629
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #32012F

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

Preview Lab → · Contrast checker → · Palette generator →

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