#32216B#32216B

#32216B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.7% C 0.122 H 287.9°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#32216B
RGBrgb(50, 33, 107)
HSLhsl(254, 53%, 27%)
HSVhsv(254, 69%, 42%)
CMYKcmyk(53.3%, 69.2%, 0%, 58%)
CIE-LABlab(19.34, 28.73, -40.53)
CIE-LCHlch(19.34, 49.68, 305.33°)
OKLaboklab(31.7% 0.0375 -0.1162)
OKLCHoklch(31.7% 0.122 287.9)
XYZxyz(4.5123, 2.8272, 14.2150)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32216B #5A6B21
analogous
#21356B #32216B #57216B
triadic
#32216B #6B3221 #216B32
tetradic
#32216B #6B2135 #5A6B21 #216B57
square
#32216B #6B2135 #5A6B21 #216B57
split-complementary
#32216B #6B5721 #356B21
monochromatic
#0B0717 #1C133C #32216B #482F9A #6042C5

Accessibility & contrast

On white

13.42
#32216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#32216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32216B
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32216B#FFFFFF#000000##FFFFFF
##32216B1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#1D3343
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32216b;
/* rgb */ color: rgb(50, 33, 107);
/* oklch */ color: oklch(31.7% 0.122 287.9);
Tailwind
colors: {
  custom: {
    50: '#705d96',
    500: '#32216b',
    950: '#000000',
  },
}
SCSS
$custom: #32216b;
$custom-light: #705d96;
$custom-dark: #000000;
JSON
{
  "hex": "#32216b",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 253.784,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31697,
    "c": 0.12215,
    "h": 287.9
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#32216B
secondary
#8B9F49
accent
#DC4CBB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #32216B

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

Preview Lab → · Contrast checker → · Palette generator →

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