#32187B#32187B

#32187B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.154 H 285.9°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#32187B
RGBrgb(50, 24, 123)
HSLhsl(256, 67%, 29%)
HSVhsv(256, 80%, 48%)
CMYKcmyk(59.3%, 80.5%, 0%, 51.8%)
CIE-LABlab(19.06, 38.89, -51.30)
CIE-LCHlch(19.06, 64.37, 307.16°)
OKLaboklab(31.98% 0.042 -0.1477)
OKLCHoklch(31.98% 0.154 285.9)
XYZxyz(5.2161, 2.7611, 18.9931)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32187B #617B18
analogous
#18307B #32187B #64187B
triadic
#32187B #7B3218 #187B32
tetradic
#32187B #7B1830 #617B18 #187B64
square
#32187B #7B1830 #617B18 #187B64
split-complementary
#32187B #7B6418 #307B18
monochromatic
#0A051A #1D0E48 #32187B #4722AE #6036D8

Accessibility & contrast

On white

13.53
#32187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#32187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32187B
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32187B#FFFFFF#000000##FFFFFF
##32187B1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#0D3549
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #32187b;
/* rgb */ color: rgb(50, 24, 123);
/* oklch */ color: oklch(32.0% 0.154 285.9);
Tailwind
colors: {
  custom: {
    50: '#7459a2',
    500: '#32187b',
    950: '#000000',
  },
}
SCSS
$custom: #32187b;
$custom-light: #7459a2;
$custom-dark: #000000;
JSON
{
  "hex": "#32187b",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 255.758,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31975,
    "c": 0.1536,
    "h": 285.9
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#32187B
secondary
#92B03F
accent
#EA3EBD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32187B

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

Preview Lab → · Contrast checker → · Palette generator →

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