#32217C#32217C

#32217C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.145 H 283.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#32217C
RGBrgb(50, 33, 124)
HSLhsl(251, 58%, 31%)
HSVhsv(251, 73%, 49%)
CMYKcmyk(59.7%, 73.4%, 0%, 51.4%)
CIE-LABlab(20.91, 34.27, -48.90)
CIE-LCHlch(20.91, 59.71, 305.02°)
OKLaboklab(33.31% 0.0346 -0.1408)
OKLCHoklch(33.31% 0.145 283.8)
XYZxyz(5.4962, 3.2207, 19.3969)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32217C #6B7C21
analogous
#213D7C #32217C #5F217C
triadic
#32217C #7C3221 #217C32
tetradic
#32217C #7C213D #6B7C21 #217C5F
square
#32217C #7C213D #6B7C21 #217C5F
split-complementary
#32217C #7C5F21 #3D7C21
monochromatic
#0B071B #1F144C #32217C #452EAC #6249CF

Accessibility & contrast

On white

12.77
#32217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#32217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32217C
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32217C#FFFFFF#000000##FFFFFF
##32217C1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#09394C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #32217c;
/* rgb */ color: rgb(50, 33, 124);
/* oklch */ color: oklch(33.3% 0.145 283.8);
Tailwind
colors: {
  custom: {
    50: '#735ea3',
    500: '#32217c',
    950: '#000000',
  },
}
SCSS
$custom: #32217c;
$custom-light: #735ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#32217c",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 251.209,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33308,
    "c": 0.14498,
    "h": 283.8
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#32217C
secondary
#9CAF4A
accent
#E147C4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32217C

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

Preview Lab → · Contrast checker → · Palette generator →

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