#32177B#32177B

#32177B is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.155 H 286.0°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#32177B
RGBrgb(50, 23, 123)
HSLhsl(256, 68%, 29%)
HSVhsv(256, 81%, 48%)
CMYKcmyk(59.3%, 81.3%, 0%, 51.8%)
CIE-LABlab(18.89, 39.38, -51.58)
CIE-LCHlch(18.89, 64.90, 307.36°)
OKLaboklab(31.86% 0.0427 -0.1486)
OKLCHoklch(31.86% 0.155 286)
XYZxyz(5.1959, 2.7207, 18.9864)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32177B #607B17
analogous
#172E7B #32177B #64177B
triadic
#32177B #7B3217 #177B32
tetradic
#32177B #7B172E #607B17 #177B64
square
#32177B #7B172E #607B17 #177B64
split-complementary
#32177B #7B6417 #2E7B17
monochromatic
#0A051A #1D0D47 #32177B #4721AF #6033D9

Accessibility & contrast

On white

13.60
#32177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#32177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32177B
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32177B#FFFFFF#000000##FFFFFF
##32177B1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#0D3449
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #32177b;
/* rgb */ color: rgb(50, 23, 123);
/* oklch */ color: oklch(31.9% 0.155 286.0);
Tailwind
colors: {
  custom: {
    50: '#7458a2',
    500: '#32177b',
    950: '#000000',
  },
}
SCSS
$custom: #32177b;
$custom-light: #7458a2;
$custom-dark: #000000;
JSON
{
  "hex": "#32177b",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 256.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31855,
    "c": 0.15458,
    "h": 286
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#32177B
secondary
#91B03E
accent
#EB3CBC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #32177B

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

Preview Lab → · Contrast checker → · Palette generator →

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