#32188F#32188F

#32188F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.177 H 281.5°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#32188F
RGBrgb(50, 24, 143)
HSLhsl(253, 71%, 33%)
HSVhsv(253, 83%, 56%)
CMYKcmyk(65%, 83.2%, 0%, 43.9%)
CIE-LABlab(21.26, 44.89, -60.27)
CIE-LCHlch(21.26, 75.15, 306.68°)
OKLaboklab(34.16% 0.0355 -0.1739)
OKLCHoklch(34.16% 0.177 281.5)
XYZxyz(6.5984, 3.3140, 26.2732)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32188F #758F18
analogous
#183A8F #32188F #6D188F
triadic
#32188F #8F3218 #188F32
tetradic
#32188F #8F183A #758F18 #188F6D
square
#32188F #8F183A #758F18 #188F6D
split-complementary
#32188F #8F6D18 #3A8F18
monochromatic
#0D0626 #200F5B #32188F #4421C3 #6442DF

Accessibility & contrast

On white

12.63
#32188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32188F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32188F#FFFFFF#000000##FFFFFF
##32188F1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #32188f;
/* rgb */ color: rgb(50, 24, 143);
/* oklch */ color: oklch(34.2% 0.177 281.5);
Tailwind
colors: {
  custom: {
    50: '#785ab1',
    500: '#32188f',
    950: '#000000',
  },
}
SCSS
$custom: #32188f;
$custom-light: #785ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#32188f",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 253.109,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34155,
    "c": 0.17749,
    "h": 281.5
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#32188F
secondary
#A5C043
accent
#EE3AC7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #32188F

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

Preview Lab → · Contrast checker → · Palette generator →

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