#32217D#32217D

#32217D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.146 H 283.6°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#32217D
RGBrgb(50, 33, 125)
HSLhsl(251, 58%, 31%)
HSVhsv(251, 74%, 49%)
CMYKcmyk(60%, 73.6%, 0%, 51%)
CIE-LABlab(21.00, 34.59, -49.38)
CIE-LCHlch(21.00, 60.29, 305.01°)
OKLaboklab(33.41% 0.0344 -0.1422)
OKLCHoklch(33.41% 0.146 283.6)
XYZxyz(5.5598, 3.2461, 19.7317)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32217D #6C7D21
analogous
#213E7D #32217D #60217D
triadic
#32217D #7D3221 #217D32
tetradic
#32217D #7D213E #6C7D21 #217D60
square
#32217D #7D213E #6C7D21 #217D60
split-complementary
#32217D #7D6021 #3E7D21
monochromatic
#0B071C #1F144D #32217D #452EAD #6249CF

Accessibility & contrast

On white

12.73
#32217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#32217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32217D
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32217D#FFFFFF#000000##FFFFFF
##32217D1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#073A4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #32217d;
/* rgb */ color: rgb(50, 33, 125);
/* oklch */ color: oklch(33.4% 0.146 283.6);
Tailwind
colors: {
  custom: {
    50: '#735ea4',
    500: '#32217d',
    950: '#000000',
  },
}
SCSS
$custom: #32217d;
$custom-light: #735ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#32217d",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 251.087,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33406,
    "c": 0.14628,
    "h": 283.6
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#32217D
secondary
#9DB04A
accent
#E146C5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32217D

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

Preview Lab → · Contrast checker → · Palette generator →

#32217D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva