#32207F#32207F

#32207F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.150 H 283.4°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#32207F
RGBrgb(50, 32, 127)
HSLhsl(251, 60%, 31%)
HSVhsv(251, 75%, 50%)
CMYKcmyk(60.6%, 74.8%, 0%, 50.2%)
CIE-LABlab(20.99, 35.82, -50.67)
CIE-LCHlch(20.99, 62.05, 305.26°)
OKLaboklab(33.46% 0.0348 -0.146)
OKLCHoklch(33.46% 0.15 283.4)
XYZxyz(5.6615, 3.2431, 20.4022)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32207F #6D7F20
analogous
#203D7F #32207F #61207F
triadic
#32207F #7F3220 #207F32
tetradic
#32207F #7F203D #6D7F20 #207F61
square
#32207F #7F203D #6D7F20 #207F61
split-complementary
#32207F #7F6120 #3D7F20
monochromatic
#0C071D #1F144E #32207F #452CB0 #6248D1

Accessibility & contrast

On white

12.74
#32207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#32207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32207F
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32207F#FFFFFF#000000##FFFFFF
##32207F1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#033A4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #32207f;
/* rgb */ color: rgb(50, 32, 127);
/* oklch */ color: oklch(33.5% 0.150 283.4);
Tailwind
colors: {
  custom: {
    50: '#745da5',
    500: '#32207f',
    950: '#000000',
  },
}
SCSS
$custom: #32207f;
$custom-light: #745da5;
$custom-dark: #000000;
JSON
{
  "hex": "#32207f",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 251.368,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33458,
    "c": 0.15004,
    "h": 283.4
  },
  "luminance": 0.03243
}

Semantic roles & 50–950 ramp

primary
#32207F
secondary
#9EB249
accent
#E345C5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32207F

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

Preview Lab → · Contrast checker → · Palette generator →

#32207F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva