#32177E#32177E

#32177E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.158 H 285.3°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#32177E
RGBrgb(50, 23, 126)
HSLhsl(256, 69%, 29%)
HSVhsv(256, 82%, 49%)
CMYKcmyk(60.3%, 81.7%, 0%, 50.6%)
CIE-LABlab(19.21, 40.28, -52.96)
CIE-LCHlch(19.21, 66.54, 307.26°)
OKLaboklab(32.18% 0.0417 -0.1526)
OKLCHoklch(32.18% 0.158 285.3)
XYZxyz(5.3865, 2.7969, 19.9906)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32177E #637E17
analogous
#17307E #32177E #66177E
triadic
#32177E #7E3217 #177E32
tetradic
#32177E #7E1730 #637E17 #177E66
square
#32177E #7E1730 #637E17 #177E66
split-complementary
#32177E #7E6617 #307E17
monochromatic
#0A051A #1D0E4A #32177E #4720B2 #6035DA

Accessibility & contrast

On white

13.47
#32177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#32177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32177E
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32177E#FFFFFF#000000##FFFFFF
##32177E1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#07364B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32177e;
/* rgb */ color: rgb(50, 23, 126);
/* oklch */ color: oklch(32.2% 0.158 285.3);
Tailwind
colors: {
  custom: {
    50: '#7458a4',
    500: '#32177e',
    950: '#000000',
  },
}
SCSS
$custom: #32177e;
$custom-light: #7458a4;
$custom-dark: #000000;
JSON
{
  "hex": "#32177e",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 255.728,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32176,
    "c": 0.15819,
    "h": 285.3
  },
  "luminance": 0.02797
}

Semantic roles & 50–950 ramp

primary
#32177E
secondary
#94B33E
accent
#EC3CBE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #32177E

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

Preview Lab → · Contrast checker → · Palette generator →

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