#32189A#32189A

#32189A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.190 H 279.6°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#32189A
RGBrgb(50, 24, 154)
HSLhsl(252, 73%, 35%)
HSVhsv(252, 84%, 60%)
CMYKcmyk(67.5%, 84.4%, 0%, 39.6%)
CIE-LABlab(22.53, 48.13, -64.97)
CIE-LCHlch(22.53, 80.86, 306.53°)
OKLaboklab(35.4% 0.0317 -0.1876)
OKLCHoklch(35.4% 0.19 279.6)
XYZxyz(7.4729, 3.6639, 30.8790)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32189A #809A18
analogous
#183F9A #32189A #73189A
triadic
#32189A #9A3218 #189A32
tetradic
#32189A #9A183F #809A18 #189A73
square
#32189A #9A183F #809A18 #189A73
split-complementary
#32189A #9A7318 #3F9A18
monochromatic
#100730 #211065 #32189A #4320CF #684AE3

Accessibility & contrast

On white

12.12
#32189A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#32189A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32189A
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32189A#FFFFFF#000000##FFFFFF
##32189A1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32189a;
/* rgb */ color: rgb(50, 24, 154);
/* oklch */ color: oklch(35.4% 0.190 279.6);
Tailwind
colors: {
  custom: {
    50: '#7a5bb9',
    500: '#32189a',
    950: '#000000',
  },
}
SCSS
$custom: #32189a;
$custom-light: #7a5bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#32189a",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 154
  },
  "hsl": {
    "h": 252,
    "s": 73.034,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35399,
    "c": 0.19024,
    "h": 279.6
  },
  "luminance": 0.03664
}

Semantic roles & 50–950 ramp

primary
#32189A
secondary
#ACC44A
accent
#F038CB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #32189A

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

Preview Lab → · Contrast checker → · Palette generator →

#32189A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva