#32189F#32189F

#32189F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 36.0% C 0.196 H 278.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#32189F
RGBrgb(50, 24, 159)
HSLhsl(252, 74%, 36%)
HSVhsv(252, 85%, 62%)
CMYKcmyk(68.6%, 84.9%, 0%, 37.6%)
CIE-LABlab(23.11, 49.59, -67.06)
CIE-LCHlch(23.11, 83.41, 306.48°)
OKLaboklab(35.97% 0.03 -0.1937)
OKLCHoklch(35.97% 0.196 278.8)
XYZxyz(7.8980, 3.8339, 33.1180)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32189F #859F18
analogous
#18419F #32189F #75189F
triadic
#32189F #9F3218 #189F32
tetradic
#32189F #9F1841 #859F18 #189F75
square
#32189F #9F1841 #859F18 #189F75
split-complementary
#32189F #9F7518 #419F18
monochromatic
#110835 #21106A #32189F #4320D4 #6A4DE4

Accessibility & contrast

On white

11.88
#32189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#32189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32189F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32189F#FFFFFF#000000##FFFFFF
##32189F1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #32189f;
/* rgb */ color: rgb(50, 24, 159);
/* oklch */ color: oklch(36.0% 0.196 278.8);
Tailwind
colors: {
  custom: {
    50: '#7b5bbd',
    500: '#32189f',
    950: '#000000',
  },
}
SCSS
$custom: #32189f;
$custom-light: #7b5bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#32189f",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 251.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35973,
    "c": 0.19597,
    "h": 278.8
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#32189F
secondary
#AFC64D
accent
#F037CD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #32189F

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

Preview Lab → · Contrast checker → · Palette generator →

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