#32189B#32189B

#32189B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.191 H 279.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#32189B
RGBrgb(50, 24, 155)
HSLhsl(252, 73%, 35%)
HSVhsv(252, 85%, 61%)
CMYKcmyk(67.7%, 84.5%, 0%, 39.2%)
CIE-LABlab(22.64, 48.43, -65.39)
CIE-LCHlch(22.64, 81.37, 306.52°)
OKLaboklab(35.51% 0.0314 -0.1888)
OKLCHoklch(35.51% 0.191 279.4)
XYZxyz(7.5565, 3.6973, 31.3194)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32189B #819B18
analogous
#18409B #32189B #73189B
triadic
#32189B #9B3218 #189B32
tetradic
#32189B #9B1840 #819B18 #189B73
square
#32189B #9B1840 #819B18 #189B73
split-complementary
#32189B #9B7318 #409B18
monochromatic
#100831 #211066 #32189B #4320D0 #694AE3

Accessibility & contrast

On white

12.07
#32189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#32189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32189B
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32189B#FFFFFF#000000##FFFFFF
##32189B1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9E
Deuteranopia (green-blind)
#003199
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32189b;
/* rgb */ color: rgb(50, 24, 155);
/* oklch */ color: oklch(35.5% 0.191 279.4);
Tailwind
colors: {
  custom: {
    50: '#7a5bba',
    500: '#32189b',
    950: '#000000',
  },
}
SCSS
$custom: #32189b;
$custom-light: #7a5bba;
$custom-dark: #000000;
JSON
{
  "hex": "#32189b",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 251.908,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35513,
    "c": 0.1914,
    "h": 279.4
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #32189B

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

Preview Lab → · Contrast checker → · Palette generator →

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