#32177F#32177F

#32177F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.159 H 285.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#32177F
RGBrgb(50, 23, 127)
HSLhsl(256, 69%, 29%)
HSVhsv(256, 82%, 50%)
CMYKcmyk(60.6%, 81.9%, 0%, 50.2%)
CIE-LABlab(19.32, 40.58, -53.42)
CIE-LCHlch(19.32, 67.08, 307.22°)
OKLaboklab(32.28% 0.0414 -0.1539)
OKLCHoklch(32.28% 0.159 285.1)
XYZxyz(5.4514, 2.8229, 20.3322)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32177F #647F17
analogous
#17307F #32177F #66177F
triadic
#32177F #7F3217 #177F32
tetradic
#32177F #7F1730 #647F17 #177F66
square
#32177F #7F1730 #647F17 #177F66
split-complementary
#32177F #7F6617 #307F17
monochromatic
#0A051A #1E0E4B #32177F #4620B3 #6136DB

Accessibility & contrast

On white

13.42
#32177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32177F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32177F#FFFFFF#000000##FFFFFF
##32177F1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#05364B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32177f;
/* rgb */ color: rgb(50, 23, 127);
/* oklch */ color: oklch(32.3% 0.159 285.1);
Tailwind
colors: {
  custom: {
    50: '#7558a5',
    500: '#32177f',
    950: '#000000',
  },
}
SCSS
$custom: #32177f;
$custom-light: #7558a5;
$custom-dark: #000000;
JSON
{
  "hex": "#32177f",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 255.577,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32284,
    "c": 0.15939,
    "h": 285.1
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#32177F
secondary
#95B43E
accent
#EC3CBE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32177F

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

Preview Lab → · Contrast checker → · Palette generator →

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