#32123E#32123E

#32123E is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.5% C 0.086 H 315.6°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#32123E
RGBrgb(50, 18, 62)
HSLhsl(284, 55%, 16%)
HSVhsv(284, 71%, 24%)
CMYKcmyk(19.4%, 71%, 0%, 75.7%)
CIE-LABlab(12.34, 24.54, -21.35)
CIE-LCHlch(12.34, 32.53, 318.98°)
OKLaboklab(25.49% 0.0612 -0.0598)
OKLCHoklch(25.49% 0.086 315.6)
XYZxyz(2.4011, 1.4586, 4.7116)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32123E #1E3E12
analogous
#1C123E #32123E #3E1234
triadic
#32123E #3E3212 #123E32
tetradic
#32123E #3E1C12 #1E3E12 #12343E
square
#32123E #3E1C12 #1E3E12 #12343E
split-complementary
#32123E #343E12 #123E1C
monochromatic
#130718 #130718 #32123E #58206D #7E2E9D

Accessibility & contrast

On white

16.26
#32123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32123E
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32123E#FFFFFF#000000##FFFFFF
##32123E1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3F
Deuteranopia (green-blind)
#12213D
Tritanopia (blue-blind)
#311A26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #32123e;
/* rgb */ color: rgb(50, 18, 62);
/* oklch */ color: oklch(25.5% 0.086 315.6);
Tailwind
colors: {
  custom: {
    50: '#6c5273',
    500: '#32123e',
    950: '#000000',
  },
}
SCSS
$custom: #32123e;
$custom-light: #6c5273;
$custom-dark: #000000;
JSON
{
  "hex": "#32123e",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 283.636,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25489,
    "c": 0.0856,
    "h": 315.6
  },
  "luminance": 0.01459
}

Semantic roles & 50–950 ramp

primary
#32123E
secondary
#477735
accent
#DE4972
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #32123E

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

Preview Lab → · Contrast checker → · Palette generator →

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