#32187D#32187D

#32187D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.156 H 285.4°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#32187D
RGBrgb(50, 24, 125)
HSLhsl(255, 68%, 29%)
HSVhsv(255, 81%, 49%)
CMYKcmyk(60%, 80.8%, 0%, 51%)
CIE-LABlab(19.27, 39.49, -52.22)
CIE-LCHlch(19.27, 65.47, 307.10°)
OKLaboklab(32.19% 0.0414 -0.1504)
OKLCHoklch(32.19% 0.156 285.4)
XYZxyz(5.3426, 2.8117, 19.6593)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32187D #637D18
analogous
#18307D #32187D #65187D
triadic
#32187D #7D3218 #187D32
tetradic
#32187D #7D1830 #637D18 #187D65
square
#32187D #7D1830 #637D18 #187D65
split-complementary
#32187D #7D6518 #307D18
monochromatic
#0A051A #1D0E4A #32187D #4722B0 #6037D9

Accessibility & contrast

On white

13.44
#32187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#32187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32187D
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32187D#FFFFFF#000000##FFFFFF
##32187D1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#09364A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32187d;
/* rgb */ color: rgb(50, 24, 125);
/* oklch */ color: oklch(32.2% 0.156 285.4);
Tailwind
colors: {
  custom: {
    50: '#7459a4',
    500: '#32187d',
    950: '#000000',
  },
}
SCSS
$custom: #32187d;
$custom-light: #7459a4;
$custom-dark: #000000;
JSON
{
  "hex": "#32187d",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 255.446,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32187,
    "c": 0.15603,
    "h": 285.4
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#32187D
secondary
#94B23F
accent
#EB3DBE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32187D

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

Preview Lab → · Contrast checker → · Palette generator →

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