#32188E#32188E

#32188E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.176 H 281.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#32188E
RGBrgb(50, 24, 142)
HSLhsl(253, 71%, 33%)
HSVhsv(253, 83%, 56%)
CMYKcmyk(64.8%, 83.1%, 0%, 44.3%)
CIE-LABlab(21.15, 44.59, -59.84)
CIE-LCHlch(21.15, 74.63, 306.70°)
OKLaboklab(34.04% 0.0358 -0.1726)
OKLCHoklch(34.04% 0.176 281.7)
XYZxyz(6.5230, 3.2839, 25.8761)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32188E #748E18
analogous
#18398E #32188E #6D188E
triadic
#32188E #8E3218 #188E32
tetradic
#32188E #8E1839 #748E18 #188E6D
square
#32188E #8E1839 #748E18 #188E6D
split-complementary
#32188E #8E6D18 #398E18
monochromatic
#0D0625 #200F5A #32188E #4421C2 #6441DF

Accessibility & contrast

On white

12.68
#32188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#32188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32188E
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32188E#FFFFFF#000000##FFFFFF
##32188E1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #32188e;
/* rgb */ color: rgb(50, 24, 142);
/* oklch */ color: oklch(34.0% 0.176 281.7);
Tailwind
colors: {
  custom: {
    50: '#775ab0',
    500: '#32188e',
    950: '#000000',
  },
}
SCSS
$custom: #32188e;
$custom-light: #775ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#32188e",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 253.22,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34043,
    "c": 0.17631,
    "h": 281.7
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#32188E
secondary
#A4C042
accent
#EE3AC6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #32188E

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

Preview Lab → · Contrast checker → · Palette generator →

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