#32196B#32196B

#32196B is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.133 H 290.2°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#32196B
RGBrgb(50, 25, 107)
HSLhsl(258, 62%, 26%)
HSVhsv(258, 77%, 42%)
CMYKcmyk(53.3%, 76.6%, 0%, 58%)
CIE-LABlab(17.62, 33.47, -43.34)
CIE-LCHlch(17.62, 54.76, 307.68°)
OKLaboklab(30.47% 0.0457 -0.1244)
OKLCHoklch(30.47% 0.133 290.2)
XYZxyz(4.3161, 2.4347, 14.1496)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32196B #526B19
analogous
#19296B #32196B #5B196B
triadic
#32196B #6B3219 #196B32
tetradic
#32196B #6B1929 #526B19 #196B5B
square
#32196B #6B1929 #526B19 #196B5B
split-complementary
#32196B #6B5B19 #296B19
monochromatic
#0C0619 #1B0D39 #32196B #49259D #6030CE

Accessibility & contrast

On white

14.12
#32196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#32196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32196B
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32196B#FFFFFF#000000##FFFFFF
##32196B1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32196b;
/* rgb */ color: rgb(50, 25, 107);
/* oklch */ color: oklch(30.5% 0.133 290.2);
Tailwind
colors: {
  custom: {
    50: '#715896',
    500: '#32196b',
    950: '#000000',
  },
}
SCSS
$custom: #32196b;
$custom-light: #715896;
$custom-dark: #000000;
JSON
{
  "hex": "#32196b",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 258.293,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3047,
    "c": 0.13258,
    "h": 290.2
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#32196B
secondary
#83A13F
accent
#E543B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #32196B

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

Preview Lab → · Contrast checker → · Palette generator →

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