#32196C#32196C

#32196C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.134 H 289.9°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#32196C
RGBrgb(50, 25, 108)
HSLhsl(258, 62%, 26%)
HSVhsv(258, 77%, 42%)
CMYKcmyk(53.7%, 76.9%, 0%, 57.6%)
CIE-LABlab(17.72, 33.77, -43.83)
CIE-LCHlch(17.72, 55.33, 307.62°)
OKLaboklab(30.57% 0.0455 -0.1259)
OKLCHoklch(30.57% 0.134 289.9)
XYZxyz(4.3690, 2.4559, 14.4283)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32196C #536C19
analogous
#19296C #32196C #5B196C
triadic
#32196C #6C3219 #196C32
tetradic
#32196C #6C1929 #536C19 #196C5B
square
#32196C #6C1929 #536C19 #196C5B
split-complementary
#32196C #6C5B19 #296C19
monochromatic
#0C0619 #1B0D3A #32196C #49259E #6030CF

Accessibility & contrast

On white

14.08
#32196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32196C
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32196C#FFFFFF#000000##FFFFFF
##32196C1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32196c;
/* rgb */ color: rgb(50, 25, 108);
/* oklch */ color: oklch(30.6% 0.134 289.9);
Tailwind
colors: {
  custom: {
    50: '#715897',
    500: '#32196c',
    950: '#000000',
  },
}
SCSS
$custom: #32196c;
$custom-light: #715897;
$custom-dark: #000000;
JSON
{
  "hex": "#32196c",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 258.072,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30568,
    "c": 0.13385,
    "h": 289.9
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#32196C
secondary
#84A13F
accent
#E542B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #32196C

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

Preview Lab → · Contrast checker → · Palette generator →

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