#32216E#32216E

#32216E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.0% C 0.126 H 287.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#32216E
RGBrgb(50, 33, 110)
HSLhsl(253, 54%, 28%)
HSVhsv(253, 70%, 43%)
CMYKcmyk(54.5%, 70%, 0%, 56.9%)
CIE-LABlab(19.60, 29.71, -42.05)
CIE-LCHlch(19.60, 51.48, 305.24°)
OKLaboklab(31.97% 0.0371 -0.1207)
OKLCHoklch(31.97% 0.126 287.1)
XYZxyz(4.6729, 2.8914, 15.0607)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32216E #5D6E21
analogous
#21366E #32216E #58216E
triadic
#32216E #6E3221 #216E32
tetradic
#32216E #6E2136 #5D6E21 #216E58
square
#32216E #6E2136 #5D6E21 #216E58
split-complementary
#32216E #6E5821 #366E21
monochromatic
#0B0718 #1D133F #32216E #472F9D #6043C7

Accessibility & contrast

On white

13.30
#32216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#32216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32216E
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32216E#FFFFFF#000000##FFFFFF
##32216E1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#1B3444
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32216e;
/* rgb */ color: rgb(50, 33, 110);
/* oklch */ color: oklch(32.0% 0.126 287.1);
Tailwind
colors: {
  custom: {
    50: '#705d98',
    500: '#32216e',
    950: '#000000',
  },
}
SCSS
$custom: #32216e;
$custom-light: #705d98;
$custom-dark: #000000;
JSON
{
  "hex": "#32216e",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 253.247,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31972,
    "c": 0.12627,
    "h": 287.1
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#32216E
secondary
#8EA249
accent
#DD4BBD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #32216E

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

Preview Lab → · Contrast checker → · Palette generator →

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