#32216A#32216A

#32216A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.6% C 0.121 H 288.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#32216A
RGBrgb(50, 33, 106)
HSLhsl(254, 53%, 27%)
HSVhsv(254, 69%, 42%)
CMYKcmyk(52.8%, 68.9%, 0%, 58.4%)
CIE-LABlab(19.25, 28.40, -40.02)
CIE-LCHlch(19.25, 49.08, 305.36°)
OKLaboklab(31.61% 0.0377 -0.1147)
OKLCHoklch(31.61% 0.121 288.2)
XYZxyz(4.4600, 2.8062, 13.9395)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32216A #596A21
analogous
#21346A #32216A #57216A
triadic
#32216A #6A3221 #216A32
tetradic
#32216A #6A2134 #596A21 #216A57
square
#32216A #6A2134 #596A21 #216A57
split-complementary
#32216A #6A5721 #346A21
monochromatic
#0B0717 #1C123B #32216A #483099 #6041C4

Accessibility & contrast

On white

13.45
#32216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#32216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32216A
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32216A#FFFFFF#000000##FFFFFF
##32216A1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#1E3342
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32216a;
/* rgb */ color: rgb(50, 33, 106);
/* oklch */ color: oklch(31.6% 0.121 288.2);
Tailwind
colors: {
  custom: {
    50: '#705d95',
    500: '#32216a',
    950: '#000000',
  },
}
SCSS
$custom: #32216a;
$custom-light: #705d95;
$custom-dark: #000000;
JSON
{
  "hex": "#32216a",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 253.973,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31607,
    "c": 0.12077,
    "h": 288.2
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#32216A
secondary
#8A9E49
accent
#DC4CBA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #32216A

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

Preview Lab → · Contrast checker → · Palette generator →

#32216A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva