#32173E#32173E

#32173E is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.3% C 0.076 H 314.3°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#32173E
RGBrgb(50, 23, 62)
HSLhsl(282, 46%, 17%)
HSVhsv(282, 63%, 24%)
CMYKcmyk(19.4%, 62.9%, 0%, 75.7%)
CIE-LABlab(13.46, 21.52, -19.56)
CIE-LCHlch(13.46, 29.08, 317.73°)
OKLaboklab(26.31% 0.0534 -0.0547)
OKLCHoklch(26.31% 0.076 314.3)
XYZxyz(2.4911, 1.6388, 4.7416)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32173E #233E17
analogous
#1F173E #32173E #3E1737
triadic
#32173E #3E3217 #173E32
tetradic
#32173E #3E1F17 #233E17 #17373E
square
#32173E #3E1F17 #233E17 #17373E
split-complementary
#32173E #373E17 #173E1F
monochromatic
#120816 #120816 #32173E #56286B #7A3897

Accessibility & contrast

On white

15.82
#32173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#32173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32173E
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32173E#FFFFFF#000000##FFFFFF
##32173E1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D213F
Deuteranopia (green-blind)
#16233D
Tritanopia (blue-blind)
#311D27
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #32173e;
/* rgb */ color: rgb(50, 23, 62);
/* oklch */ color: oklch(26.3% 0.076 314.3);
Tailwind
colors: {
  custom: {
    50: '#6b5573',
    500: '#32173e',
    950: '#000000',
  },
}
SCSS
$custom: #32173e;
$custom-light: #6b5573;
$custom-dark: #000000;
JSON
{
  "hex": "#32173e",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 281.538,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26307,
    "c": 0.07642,
    "h": 314.3
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#32173E
secondary
#4D753C
accent
#D6527B
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #32173E

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

Preview Lab → · Contrast checker → · Palette generator →

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