#32168F#32168F

#32168F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.179 H 281.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#32168F
RGBrgb(50, 22, 143)
HSLhsl(254, 73%, 32%)
HSVhsv(254, 85%, 56%)
CMYKcmyk(65%, 84.6%, 0%, 43.9%)
CIE-LABlab(20.96, 45.77, -60.77)
CIE-LCHlch(20.96, 76.08, 306.99°)
OKLaboklab(33.95% 0.0365 -0.1753)
OKLCHoklch(33.95% 0.179 281.7)
XYZxyz(6.5587, 3.2346, 26.2600)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32168F #738F16
analogous
#16378F #32168F #6E168F
triadic
#32168F #8F3216 #168F32
tetradic
#32168F #8F1637 #738F16 #168F6E
square
#32168F #8F1637 #738F16 #168F6E
split-complementary
#32168F #8F6E16 #378F16
monochromatic
#0D0625 #1F0E5A #32168F #451EC4 #643EE1

Accessibility & contrast

On white

12.75
#32168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#32168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32168F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32168F#FFFFFF#000000##FFFFFF
##32168F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #32168f;
/* rgb */ color: rgb(50, 22, 143);
/* oklch */ color: oklch(33.9% 0.179 281.7);
Tailwind
colors: {
  custom: {
    50: '#7859b1',
    500: '#32168f',
    950: '#000000',
  },
}
SCSS
$custom: #32168f;
$custom-light: #7859b1;
$custom-dark: #000000;
JSON
{
  "hex": "#32168f",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 253.884,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33948,
    "c": 0.17907,
    "h": 281.7
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#32168F
secondary
#A3C13F
accent
#F038C5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #32168F

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

Preview Lab → · Contrast checker → · Palette generator →

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