#32187C#32187C

#32187C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.155 H 285.6°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#32187C
RGBrgb(50, 24, 124)
HSLhsl(256, 68%, 29%)
HSVhsv(256, 81%, 49%)
CMYKcmyk(59.7%, 80.6%, 0%, 51.4%)
CIE-LABlab(19.17, 39.19, -51.76)
CIE-LCHlch(19.17, 64.92, 307.13°)
OKLaboklab(32.08% 0.0417 -0.1491)
OKLCHoklch(32.08% 0.155 285.6)
XYZxyz(5.2790, 2.7863, 19.3245)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32187C #627C18
analogous
#18307C #32187C #64187C
triadic
#32187C #7C3218 #187C32
tetradic
#32187C #7C1830 #627C18 #187C64
square
#32187C #7C1830 #627C18 #187C64
split-complementary
#32187C #7C6418 #307C18
monochromatic
#0A051A #1D0E49 #32187C #4722AF #6036D8

Accessibility & contrast

On white

13.48
#32187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32187C
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32187C#FFFFFF#000000##FFFFFF
##32187C1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#0B354A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #32187c;
/* rgb */ color: rgb(50, 24, 124);
/* oklch */ color: oklch(32.1% 0.155 285.6);
Tailwind
colors: {
  custom: {
    50: '#7459a3',
    500: '#32187c',
    950: '#000000',
  },
}
SCSS
$custom: #32187c;
$custom-light: #7459a3;
$custom-dark: #000000;
JSON
{
  "hex": "#32187c",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 255.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32081,
    "c": 0.15482,
    "h": 285.6
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#32187C
secondary
#93B13F
accent
#EA3DBD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32187C

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

Preview Lab → · Contrast checker → · Palette generator →

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