#32186A#32186A

#32186A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.133 H 290.7°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#32186A
RGBrgb(50, 24, 106)
HSLhsl(259, 63%, 25%)
HSVhsv(259, 77%, 42%)
CMYKcmyk(52.8%, 77.4%, 0%, 58.4%)
CIE-LABlab(17.33, 33.71, -43.16)
CIE-LCHlch(17.33, 54.77, 307.99°)
OKLaboklab(30.23% 0.0469 -0.1239)
OKLCHoklch(30.23% 0.133 290.7)
XYZxyz(4.2428, 2.3718, 13.8671)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32186A #506A18
analogous
#18276A #32186A #5B186A
triadic
#32186A #6A3218 #186A32
tetradic
#32186A #6A1827 #506A18 #186A5B
square
#32186A #6A1827 #506A18 #186A5B
split-complementary
#32186A #6A5B18 #276A18
monochromatic
#0C0619 #1A0D38 #32186A #4A239C #612FCE

Accessibility & contrast

On white

14.24
#32186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#32186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32186A
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32186A#FFFFFF#000000##FFFFFF
##32186A1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002968
Tritanopia (blue-blind)
#1F2E3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #32186a;
/* rgb */ color: rgb(50, 24, 106);
/* oklch */ color: oklch(30.2% 0.133 290.7);
Tailwind
colors: {
  custom: {
    50: '#715895',
    500: '#32186a',
    950: '#000000',
  },
}
SCSS
$custom: #32186a;
$custom-light: #715895;
$custom-dark: #000000;
JSON
{
  "hex": "#32186a",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 259.024,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30234,
    "c": 0.13251,
    "h": 290.7
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#32186A
secondary
#81A03E
accent
#E642B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #32186A

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

Preview Lab → · Contrast checker → · Palette generator →

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