#32196E#32196E

#32196E is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.136 H 289.2°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#32196E
RGBrgb(50, 25, 110)
HSLhsl(258, 63%, 26%)
HSVhsv(258, 77%, 43%)
CMYKcmyk(54.5%, 77.3%, 0%, 56.9%)
CIE-LABlab(17.91, 34.39, -44.81)
CIE-LCHlch(17.91, 56.48, 307.50°)
OKLaboklab(30.77% 0.045 -0.1288)
OKLCHoklch(30.77% 0.136 289.2)
XYZxyz(4.4767, 2.4990, 14.9953)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32196E #556E19
analogous
#192B6E #32196E #5D196E
triadic
#32196E #6E3219 #196E32
tetradic
#32196E #6E192B #556E19 #196E5D
square
#32196E #6E192B #556E19 #196E5D
split-complementary
#32196E #6E5D19 #2B6E19
monochromatic
#0B0619 #1B0E3C #32196E #4924A0 #6031D0

Accessibility & contrast

On white

14.00
#32196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#32196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32196E
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32196E#FFFFFF#000000##FFFFFF
##32196E1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#1C3042
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #32196e;
/* rgb */ color: rgb(50, 25, 110);
/* oklch */ color: oklch(30.8% 0.136 289.2);
Tailwind
colors: {
  custom: {
    50: '#715898',
    500: '#32196e',
    950: '#000000',
  },
}
SCSS
$custom: #32196e;
$custom-light: #715898;
$custom-dark: #000000;
JSON
{
  "hex": "#32196e",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 257.647,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30767,
    "c": 0.13639,
    "h": 289.2
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#32196E
secondary
#86A33F
accent
#E642B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #32196E

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

Preview Lab → · Contrast checker → · Palette generator →

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