#32206E#32206E

#32206E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.128 H 287.4°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#32206E
RGBrgb(50, 32, 110)
HSLhsl(254, 55%, 28%)
HSVhsv(254, 71%, 43%)
CMYKcmyk(54.5%, 70.9%, 0%, 56.9%)
CIE-LABlab(19.38, 30.32, -42.42)
CIE-LCHlch(19.38, 52.14, 305.56°)
OKLaboklab(31.81% 0.0382 -0.1218)
OKLCHoklch(31.81% 0.128 287.4)
XYZxyz(4.6455, 2.8367, 15.0516)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32206E #5C6E20
analogous
#20356E #32206E #59206E
triadic
#32206E #6E3220 #206E32
tetradic
#32206E #6E2035 #5C6E20 #206E59
square
#32206E #6E2035 #5C6E20 #206E59
split-complementary
#32206E #6E5920 #356E20
monochromatic
#0B0718 #1C123F #32206E #482E9D #6041C8

Accessibility & contrast

On white

13.40
#32206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#32206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32206E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32206E#FFFFFF#000000##FFFFFF
##32206E1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#1B3444
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32206e;
/* rgb */ color: rgb(50, 32, 110);
/* oklch */ color: oklch(31.8% 0.128 287.4);
Tailwind
colors: {
  custom: {
    50: '#715d98',
    500: '#32206e',
    950: '#000000',
  },
}
SCSS
$custom: #32206e;
$custom-light: #715d98;
$custom-dark: #000000;
JSON
{
  "hex": "#32206e",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 253.846,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31809,
    "c": 0.12761,
    "h": 287.4
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#32206E
secondary
#8DA248
accent
#DE4ABC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #32206E

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

Preview Lab → · Contrast checker → · Palette generator →

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