#32179F#32179F

#32179F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.197 H 278.9°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#32179F
RGBrgb(50, 23, 159)
HSLhsl(252, 75%, 36%)
HSVhsv(252, 86%, 62%)
CMYKcmyk(68.6%, 85.5%, 0%, 37.6%)
CIE-LABlab(22.98, 50.00, -67.29)
CIE-LCHlch(22.98, 83.84, 306.61°)
OKLaboklab(35.88% 0.0304 -0.1943)
OKLCHoklch(35.88% 0.197 278.9)
XYZxyz(7.8778, 3.7934, 33.1112)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32179F #849F17
analogous
#17409F #32179F #76179F
triadic
#32179F #9F3217 #179F32
tetradic
#32179F #9F1740 #849F17 #179F76
square
#32179F #9F1740 #849F17 #179F76
split-complementary
#32179F #9F7617 #409F17
monochromatic
#100834 #210F6A #32179F #431FD4 #6A4BE5

Accessibility & contrast

On white

11.94
#32179F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#32179F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32179F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32179F#FFFFFF#000000##FFFFFF
##32179F1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #32179f;
/* rgb */ color: rgb(50, 23, 159);
/* oklch */ color: oklch(35.9% 0.197 278.9);
Tailwind
colors: {
  custom: {
    50: '#7b5bbd',
    500: '#32179f',
    950: '#000000',
  },
}
SCSS
$custom: #32179f;
$custom-light: #7b5bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#32179f",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 251.912,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35878,
    "c": 0.19667,
    "h": 278.9
  },
  "luminance": 0.03794
}

Semantic roles & 50–950 ramp

primary
#32179F
secondary
#AEC74B
accent
#F136CC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #32179F

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

Preview Lab → · Contrast checker → · Palette generator →

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