#32176C#32176C

#32176C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.136 H 290.3°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#32176C
RGBrgb(50, 23, 108)
HSLhsl(259, 65%, 26%)
HSVhsv(259, 79%, 42%)
CMYKcmyk(53.7%, 78.7%, 0%, 57.6%)
CIE-LABlab(17.34, 34.85, -44.46)
CIE-LCHlch(17.34, 56.49, 308.10°)
OKLaboklab(30.3% 0.0473 -0.1277)
OKLCHoklch(30.3% 0.136 290.3)
XYZxyz(4.3278, 2.3734, 14.4145)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32176C #516C17
analogous
#17266C #32176C #5C176C
triadic
#32176C #6C3217 #176C32
tetradic
#32176C #6C1726 #516C17 #176C5C
square
#32176C #6C1726 #516C17 #176C5C
split-complementary
#32176C #6C5C17 #266C17
monochromatic
#0C0519 #1B0C3A #32176C #49229E #612CD1

Accessibility & contrast

On white

14.24
#32176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#32176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32176C
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32176C#FFFFFF#000000##FFFFFF
##32176C1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#1D2E40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #32176c;
/* rgb */ color: rgb(50, 23, 108);
/* oklch */ color: oklch(30.3% 0.136 290.3);
Tailwind
colors: {
  custom: {
    50: '#715797',
    500: '#32176c',
    950: '#000000',
  },
}
SCSS
$custom: #32176c;
$custom-light: #715797;
$custom-dark: #000000;
JSON
{
  "hex": "#32176c",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 259.059,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30299,
    "c": 0.13619,
    "h": 290.3
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#32176C
secondary
#82A23D
accent
#E840B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #32176C

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

Preview Lab → · Contrast checker → · Palette generator →

#32176C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva