#32186C#32186C

#32186C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.135 H 290.1°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#32186C
RGBrgb(50, 24, 108)
HSLhsl(259, 64%, 26%)
HSVhsv(259, 78%, 42%)
CMYKcmyk(53.7%, 77.8%, 0%, 57.6%)
CIE-LABlab(17.52, 34.32, -44.15)
CIE-LCHlch(17.52, 55.92, 307.86°)
OKLaboklab(30.43% 0.0464 -0.1268)
OKLCHoklch(30.43% 0.135 290.1)
XYZxyz(4.3480, 2.4139, 14.4213)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32186C #526C18
analogous
#18286C #32186C #5C186C
triadic
#32186C #6C3218 #186C32
tetradic
#32186C #6C1828 #526C18 #186C5C
square
#32186C #6C1828 #526C18 #186C5C
split-complementary
#32186C #6C5C18 #286C18
monochromatic
#0C0619 #1B0D3A #32186C #49239E #602ED0

Accessibility & contrast

On white

14.16
#32186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#32186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32186C
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32186C#FFFFFF#000000##FFFFFF
##32186C1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#1D2F40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #32186c;
/* rgb */ color: rgb(50, 24, 108);
/* oklch */ color: oklch(30.4% 0.135 290.1);
Tailwind
colors: {
  custom: {
    50: '#715897',
    500: '#32186c',
    950: '#000000',
  },
}
SCSS
$custom: #32186c;
$custom-light: #715897;
$custom-dark: #000000;
JSON
{
  "hex": "#32186c",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 258.571,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30432,
    "c": 0.13503,
    "h": 290.1
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#32186C
secondary
#83A23E
accent
#E741B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #32186C

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

Preview Lab → · Contrast checker → · Palette generator →

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