#32186B#32186B

#32186B is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.134 H 290.4°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#32186B
RGBrgb(50, 24, 107)
HSLhsl(259, 63%, 26%)
HSVhsv(259, 78%, 42%)
CMYKcmyk(53.3%, 77.6%, 0%, 58%)
CIE-LABlab(17.43, 34.02, -43.66)
CIE-LCHlch(17.43, 55.34, 307.92°)
OKLaboklab(30.33% 0.0467 -0.1254)
OKLCHoklch(30.33% 0.134 290.4)
XYZxyz(4.2951, 2.3927, 14.1426)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32186B #516B18
analogous
#18276B #32186B #5B186B
triadic
#32186B #6B3218 #186B32
tetradic
#32186B #6B1827 #516B18 #186B5B
square
#32186B #6B1827 #516B18 #186B5B
split-complementary
#32186B #6B5B18 #276B18
monochromatic
#0C0619 #1B0D39 #32186B #49239D #612ECF

Accessibility & contrast

On white

14.20
#32186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32186B
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32186B#FFFFFF#000000##FFFFFF
##32186B1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#1E2E40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #32186b;
/* rgb */ color: rgb(50, 24, 107);
/* oklch */ color: oklch(30.3% 0.134 290.4);
Tailwind
colors: {
  custom: {
    50: '#715896',
    500: '#32186b',
    950: '#000000',
  },
}
SCSS
$custom: #32186b;
$custom-light: #715896;
$custom-dark: #000000;
JSON
{
  "hex": "#32186b",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 258.795,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30333,
    "c": 0.13377,
    "h": 290.4
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#32186B
secondary
#82A13E
accent
#E641B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #32186B

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

Preview Lab → · Contrast checker → · Palette generator →

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