#32187A#32187A

#32187A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.152 H 286.1°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#32187A
RGBrgb(50, 24, 122)
HSLhsl(256, 67%, 29%)
HSVhsv(256, 80%, 48%)
CMYKcmyk(59%, 80.3%, 0%, 52.2%)
CIE-LABlab(18.95, 38.58, -50.83)
CIE-LCHlch(18.95, 63.82, 307.20°)
OKLaboklab(31.87% 0.0423 -0.1464)
OKLCHoklch(31.87% 0.152 286.1)
XYZxyz(5.1538, 2.7362, 18.6652)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32187A #607A18
analogous
#182F7A #32187A #63187A
triadic
#32187A #7A3218 #187A32
tetradic
#32187A #7A182F #607A18 #187A63
square
#32187A #7A182F #607A18 #187A63
split-complementary
#32187A #7A6318 #2F7A18
monochromatic
#0A051A #1D0E47 #32187A #4722AD #6035D7

Accessibility & contrast

On white

13.57
#32187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32187A
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32187A#FFFFFF#000000##FFFFFF
##32187A1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#0E3448
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #32187a;
/* rgb */ color: rgb(50, 24, 122);
/* oklch */ color: oklch(31.9% 0.152 286.1);
Tailwind
colors: {
  custom: {
    50: '#7359a1',
    500: '#32187a',
    950: '#000000',
  },
}
SCSS
$custom: #32187a;
$custom-light: #7359a1;
$custom-dark: #000000;
JSON
{
  "hex": "#32187a",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 255.918,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31869,
    "c": 0.15238,
    "h": 286.1
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#32187A
secondary
#91AF3F
accent
#EA3EBC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32187A

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

Preview Lab → · Contrast checker → · Palette generator →

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