#32189D#32189D

#32189D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.194 H 279.1°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#32189D
RGBrgb(50, 24, 157)
HSLhsl(252, 73%, 35%)
HSVhsv(252, 85%, 62%)
CMYKcmyk(68.2%, 84.7%, 0%, 38.4%)
CIE-LABlab(22.88, 49.01, -66.23)
CIE-LCHlch(22.88, 82.39, 306.50°)
OKLaboklab(35.74% 0.0307 -0.1912)
OKLCHoklch(35.74% 0.194 279.1)
XYZxyz(7.7259, 3.7650, 32.2113)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32189D #839D18
analogous
#18419D #32189D #74189D
triadic
#32189D #9D3218 #189D32
tetradic
#32189D #9D1841 #839D18 #189D74
square
#32189D #9D1841 #839D18 #189D74
split-complementary
#32189D #9D7418 #419D18
monochromatic
#100833 #211068 #32189D #4320D2 #694CE4

Accessibility & contrast

On white

11.98
#32189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#32189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32189D
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32189D#FFFFFF#000000##FFFFFF
##32189D1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA1
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #32189d;
/* rgb */ color: rgb(50, 24, 157);
/* oklch */ color: oklch(35.7% 0.194 279.1);
Tailwind
colors: {
  custom: {
    50: '#7b5bbb',
    500: '#32189d',
    950: '#000000',
  },
}
SCSS
$custom: #32189d;
$custom-light: #7b5bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#32189d",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 251.729,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35743,
    "c": 0.19369,
    "h": 279.1
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#32189D
secondary
#AEC54B
accent
#F038CC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #32189D

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

Preview Lab → · Contrast checker → · Palette generator →

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