#32176A#32176A

#32176A is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.134 H 291.0°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#32176A
RGBrgb(50, 23, 106)
HSLhsl(260, 64%, 25%)
HSVhsv(260, 78%, 42%)
CMYKcmyk(52.8%, 78.3%, 0%, 58.4%)
CIE-LABlab(17.14, 34.25, -43.47)
CIE-LCHlch(17.14, 55.35, 308.23°)
OKLaboklab(30.1% 0.0478 -0.1248)
OKLCHoklch(30.1% 0.134 291)
XYZxyz(4.2226, 2.3313, 13.8604)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32176A #4F6A17
analogous
#17256A #32176A #5B176A
triadic
#32176A #6A3217 #176A32
tetradic
#32176A #6A1725 #4F6A17 #176A5B
square
#32176A #6A1725 #4F6A17 #176A5B
split-complementary
#32176A #6A5B17 #256A17
monochromatic
#0C0519 #1A0C38 #32176A #4A229C #612DCF

Accessibility & contrast

On white

14.32
#32176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32176A
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32176A#FFFFFF#000000##FFFFFF
##32176A1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002868
Tritanopia (blue-blind)
#1F2D3F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #32176a;
/* rgb */ color: rgb(50, 23, 106);
/* oklch */ color: oklch(30.1% 0.134 291.0);
Tailwind
colors: {
  custom: {
    50: '#715795',
    500: '#32176a',
    950: '#000000',
  },
}
SCSS
$custom: #32176a;
$custom-light: #715795;
$custom-dark: #000000;
JSON
{
  "hex": "#32176a",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 259.518,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30099,
    "c": 0.13369,
    "h": 291
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#32176A
secondary
#80A03D
accent
#E740B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #32176A

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

Preview Lab → · Contrast checker → · Palette generator →

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