#32169E#32169E

#32169E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.7% C 0.196 H 279.1°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#32169E
RGBrgb(50, 22, 158)
HSLhsl(252, 76%, 35%)
HSVhsv(252, 86%, 62%)
CMYKcmyk(68.4%, 86.1%, 0%, 38%)
CIE-LABlab(22.72, 50.11, -67.10)
CIE-LCHlch(22.72, 83.75, 306.75°)
OKLaboklab(35.67% 0.0311 -0.1937)
OKLCHoklch(35.67% 0.196 279.1)
XYZxyz(7.7719, 3.7199, 32.6496)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32169E #829E16
analogous
#163E9E #32169E #76169E
triadic
#32169E #9E3216 #169E32
tetradic
#32169E #9E163E #829E16 #169E76
square
#32169E #9E163E #829E16 #169E76
split-complementary
#32169E #9E7616 #3E9E16
monochromatic
#100733 #210F68 #32169E #431DD4 #6949E6

Accessibility & contrast

On white

12.04
#32169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32169E
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32169E#FFFFFF#000000##FFFFFF
##32169E1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32169e;
/* rgb */ color: rgb(50, 22, 158);
/* oklch */ color: oklch(35.7% 0.196 279.1);
Tailwind
colors: {
  custom: {
    50: '#7b5abc',
    500: '#32169e',
    950: '#000000',
  },
}
SCSS
$custom: #32169e;
$custom-light: #7b5abc;
$custom-dark: #000000;
JSON
{
  "hex": "#32169e",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 252.353,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3567,
    "c": 0.19622,
    "h": 279.1
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#32169E
secondary
#ADC749
accent
#F236CB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #32169E

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

Preview Lab → · Contrast checker → · Palette generator →

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