#32206C#32206C

#32206C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.6% C 0.125 H 287.9°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#32206C
RGBrgb(50, 32, 108)
HSLhsl(254, 54%, 27%)
HSVhsv(254, 70%, 42%)
CMYKcmyk(53.7%, 70.4%, 0%, 57.6%)
CIE-LABlab(19.20, 29.67, -41.41)
CIE-LCHlch(19.20, 50.95, 305.62°)
OKLaboklab(31.62% 0.0385 -0.1188)
OKLCHoklch(31.62% 0.125 287.9)
XYZxyz(4.5379, 2.7936, 14.4846)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32206C #5A6C20
analogous
#20346C #32206C #58206C
triadic
#32206C #6C3220 #206C32
tetradic
#32206C #6C2034 #5A6C20 #206C58
square
#32206C #6C2034 #5A6C20 #206C58
split-complementary
#32206C #6C5820 #346C20
monochromatic
#0B0718 #1C123D #32206C #482E9B #6040C6

Accessibility & contrast

On white

13.47
#32206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#32206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32206C
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32206C#FFFFFF#000000##FFFFFF
##32206C1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32206c;
/* rgb */ color: rgb(50, 32, 108);
/* oklch */ color: oklch(31.6% 0.125 287.9);
Tailwind
colors: {
  custom: {
    50: '#705d97',
    500: '#32206c',
    950: '#000000',
  },
}
SCSS
$custom: #32206c;
$custom-light: #705d97;
$custom-dark: #000000;
JSON
{
  "hex": "#32206c",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 254.211,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31624,
    "c": 0.12489,
    "h": 287.9
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#32206C
secondary
#8BA048
accent
#DE4ABB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #32206C

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

Preview Lab → · Contrast checker → · Palette generator →

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