#32188A#32188A

#32188A is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.172 H 282.5°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#32188A
RGBrgb(50, 24, 138)
HSLhsl(254, 70%, 32%)
HSVhsv(254, 83%, 54%)
CMYKcmyk(63.8%, 82.6%, 0%, 45.9%)
CIE-LABlab(20.70, 43.40, -58.08)
CIE-LCHlch(20.70, 72.51, 306.77°)
OKLaboklab(33.6% 0.0371 -0.1675)
OKLCHoklch(33.6% 0.172 282.5)
XYZxyz(6.2280, 3.1659, 24.3227)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32188A #708A18
analogous
#18378A #32188A #6B188A
triadic
#32188A #8A3218 #188A32
tetradic
#32188A #8A1837 #708A18 #188A6B
square
#32188A #8A1837 #708A18 #188A6B
split-complementary
#32188A #8A6B18 #378A18
monochromatic
#0C0622 #1F0F56 #32188A #4521BE #633FDE

Accessibility & contrast

On white

12.86
#32188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#32188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32188A
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32188A#FFFFFF#000000##FFFFFF
##32188A1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002E88
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #32188a;
/* rgb */ color: rgb(50, 24, 138);
/* oklch */ color: oklch(33.6% 0.172 282.5);
Tailwind
colors: {
  custom: {
    50: '#775aad',
    500: '#32188a',
    950: '#000000',
  },
}
SCSS
$custom: #32188a;
$custom-light: #775aad;
$custom-dark: #000000;
JSON
{
  "hex": "#32188a",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 253.684,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33599,
    "c": 0.1716,
    "h": 282.5
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#32188A
secondary
#A1BD40
accent
#ED3BC4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #32188A

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

Preview Lab → · Contrast checker → · Palette generator →

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