#32123B#32123B

#32123B is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.082 H 318.2°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#32123B
RGBrgb(50, 18, 59)
HSLhsl(287, 53%, 15%)
HSVhsv(287, 69%, 23%)
CMYKcmyk(15.3%, 69.5%, 0%, 76.9%)
CIE-LABlab(12.13, 23.79, -19.55)
CIE-LCHlch(12.13, 30.80, 320.60°)
OKLaboklab(25.27% 0.0612 -0.0546)
OKLCHoklch(25.27% 0.082 318.2)
XYZxyz(2.3210, 1.4266, 4.2899)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32123B #1B3B12
analogous
#1D123B #32123B #3B1230
triadic
#32123B #3B3212 #123B32
tetradic
#32123B #3B1D12 #1B3B12 #12303B
square
#32123B #3B1D12 #1B3B12 #12303B
split-complementary
#32123B #303B12 #123B1D
monochromatic
#140717 #140717 #32123B #5A206A #812F99

Accessibility & contrast

On white

16.34
#32123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#32123B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32123B
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32123B#FFFFFF#000000##FFFFFF
##32123B1.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071E3C
Deuteranopia (green-blind)
#14213A
Tritanopia (blue-blind)
#321924
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #32123b;
/* rgb */ color: rgb(50, 18, 59);
/* oklch */ color: oklch(25.3% 0.082 318.2);
Tailwind
colors: {
  custom: {
    50: '#6b5271',
    500: '#32123b',
    950: '#000000',
  },
}
SCSS
$custom: #32123b;
$custom-light: #6b5271;
$custom-dark: #000000;
JSON
{
  "hex": "#32123b",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 286.829,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25269,
    "c": 0.08198,
    "h": 318.2
  },
  "luminance": 0.01426
}

Semantic roles & 50–950 ramp

primary
#32123B
secondary
#437435
accent
#DD4B6B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #32123B

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

Preview Lab → · Contrast checker → · Palette generator →

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