#32216C#32216C

#32216C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.124 H 287.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#32216C
RGBrgb(50, 33, 108)
HSLhsl(254, 53%, 28%)
HSVhsv(254, 69%, 42%)
CMYKcmyk(53.7%, 69.4%, 0%, 57.6%)
CIE-LABlab(19.43, 29.05, -41.04)
CIE-LCHlch(19.43, 50.28, 305.30°)
OKLaboklab(31.79% 0.0374 -0.1177)
OKLCHoklch(31.79% 0.124 287.6)
XYZxyz(4.5652, 2.8483, 14.4937)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32216C #5B6C21
analogous
#21366C #32216C #57216C
triadic
#32216C #6C3221 #216C32
tetradic
#32216C #6C2136 #5B6C21 #216C57
square
#32216C #6C2136 #5B6C21 #216C57
split-complementary
#32216C #6C5721 #366C21
monochromatic
#0B0717 #1C133D #32216C #482F9B #6042C5

Accessibility & contrast

On white

13.38
#32216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32216C
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32216C#FFFFFF#000000##FFFFFF
##32216C1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32216c;
/* rgb */ color: rgb(50, 33, 108);
/* oklch */ color: oklch(31.8% 0.124 287.6);
Tailwind
colors: {
  custom: {
    50: '#705d97',
    500: '#32216c',
    950: '#000000',
  },
}
SCSS
$custom: #32216c;
$custom-light: #705d97;
$custom-dark: #000000;
JSON
{
  "hex": "#32216c",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 253.6,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31788,
    "c": 0.12353,
    "h": 287.6
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#32216C
secondary
#8CA049
accent
#DD4BBC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #32216C

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

Preview Lab → · Contrast checker → · Palette generator →

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