#32207E#32207E

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

Color values

HEX#32207E
RGBrgb(50, 32, 126)
HSLhsl(251, 59%, 31%)
HSVhsv(251, 75%, 49%)
CMYKcmyk(60.3%, 74.6%, 0%, 50.6%)
CIE-LABlab(20.89, 35.50, -50.20)
CIE-LCHlch(20.89, 61.48, 305.27°)
OKLaboklab(33.36% 0.035 -0.1446)
OKLCHoklch(33.36% 0.149 283.6)
XYZxyz(5.5966, 3.2171, 20.0607)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32207E #6C7E20
analogous
#203D7E #32207E #61207E
triadic
#32207E #7E3220 #207E32
tetradic
#32207E #7E203D #6C7E20 #207E61
square
#32207E #7E203D #6C7E20 #207E61
split-complementary
#32207E #7E6120 #3D7E20
monochromatic
#0B071C #1F144D #32207E #452CAF #6248D0

Accessibility & contrast

On white

12.78
#32207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#32207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32207E
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32207E#FFFFFF#000000##FFFFFF
##32207E1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#053A4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #32207e;
/* rgb */ color: rgb(50, 32, 126);
/* oklch */ color: oklch(33.4% 0.149 283.6);
Tailwind
colors: {
  custom: {
    50: '#745da4',
    500: '#32207e',
    950: '#000000',
  },
}
SCSS
$custom: #32207e;
$custom-light: #745da4;
$custom-dark: #000000;
JSON
{
  "hex": "#32207e",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 251.489,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33358,
    "c": 0.14876,
    "h": 283.6
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #32207E

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

Preview Lab → · Contrast checker → · Palette generator →

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