#32176B#32176B

#32176B is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.135 H 290.6°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#32176B
RGBrgb(50, 23, 107)
HSLhsl(259, 65%, 25%)
HSVhsv(259, 79%, 42%)
CMYKcmyk(53.3%, 78.5%, 0%, 58%)
CIE-LABlab(17.24, 34.55, -43.97)
CIE-LCHlch(17.24, 55.92, 308.16°)
OKLaboklab(30.2% 0.0476 -0.1263)
OKLCHoklch(30.2% 0.135 290.6)
XYZxyz(4.2749, 2.3523, 14.1359)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32176B #506B17
analogous
#17266B #32176B #5C176B
triadic
#32176B #6B3217 #176B32
tetradic
#32176B #6B1726 #506B17 #176B5C
square
#32176B #6B1726 #506B17 #176B5C
split-complementary
#32176B #6B5C17 #266B17
monochromatic
#0C0519 #1A0C39 #32176B #4A229D #612DD0

Accessibility & contrast

On white

14.28
#32176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32176B
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32176B#FFFFFF#000000##FFFFFF
##32176B1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#1E2E40
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #32176b;
/* rgb */ color: rgb(50, 23, 107);
/* oklch */ color: oklch(30.2% 0.135 290.6);
Tailwind
colors: {
  custom: {
    50: '#715796',
    500: '#32176b',
    950: '#000000',
  },
}
SCSS
$custom: #32176b;
$custom-light: #715796;
$custom-dark: #000000;
JSON
{
  "hex": "#32176b",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 259.286,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30199,
    "c": 0.13494,
    "h": 290.6
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#32176B
secondary
#81A13D
accent
#E840B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #32176B

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

Preview Lab → · Contrast checker → · Palette generator →

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