#32169D#32169D

#32169D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.6% C 0.195 H 279.3°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#32169D
RGBrgb(50, 22, 157)
HSLhsl(252, 75%, 35%)
HSVhsv(252, 86%, 62%)
CMYKcmyk(68.2%, 86%, 0%, 38.4%)
CIE-LABlab(22.60, 49.82, -66.69)
CIE-LCHlch(22.60, 83.25, 306.76°)
OKLaboklab(35.55% 0.0315 -0.1925)
OKLCHoklch(35.55% 0.195 279.3)
XYZxyz(7.6862, 3.6856, 32.1981)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32169D #819D16
analogous
#163E9D #32169D #75169D
triadic
#32169D #9D3216 #169D32
tetradic
#32169D #9D163E #819D16 #169D75
square
#32169D #9D163E #819D16 #169D75
split-complementary
#32169D #9D7516 #3E9D16
monochromatic
#100732 #210E67 #32169D #431ED3 #6948E5

Accessibility & contrast

On white

12.09
#32169D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#32169D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32169D
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32169D#FFFFFF#000000##FFFFFF
##32169D1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA1
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32169d;
/* rgb */ color: rgb(50, 22, 157);
/* oklch */ color: oklch(35.6% 0.195 279.3);
Tailwind
colors: {
  custom: {
    50: '#7b5abb',
    500: '#32169d',
    950: '#000000',
  },
}
SCSS
$custom: #32169d;
$custom-light: #7b5abb;
$custom-dark: #000000;
JSON
{
  "hex": "#32169d",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 157
  },
  "hsl": {
    "h": 252.444,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35554,
    "c": 0.19509,
    "h": 279.3
  },
  "luminance": 0.03686
}

Semantic roles & 50–950 ramp

primary
#32169D
secondary
#ACC748
accent
#F236CB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #32169D

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

Preview Lab → · Contrast checker → · Palette generator →

#32169D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva