#32197E#32197E

#32197E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.156 H 285.0°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#32197E
RGBrgb(50, 25, 126)
HSLhsl(255, 67%, 30%)
HSVhsv(255, 80%, 49%)
CMYKcmyk(60.3%, 80.2%, 0%, 50.6%)
CIE-LABlab(19.55, 39.29, -52.40)
CIE-LCHlch(19.55, 65.49, 306.87°)
OKLaboklab(32.42% 0.0404 -0.151)
OKLCHoklch(32.42% 0.156 285)
XYZxyz(5.4278, 2.8794, 20.0044)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32197E #657E19
analogous
#19337E #32197E #64197E
triadic
#32197E #7E3219 #197E32
tetradic
#32197E #7E1933 #657E19 #197E64
square
#32197E #7E1933 #657E19 #197E64
split-complementary
#32197E #7E6419 #337E19
monochromatic
#0A051A #1E0F4B #32197E #4623B1 #613AD8

Accessibility & contrast

On white

13.32
#32197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#32197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32197E
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32197E#FFFFFF#000000##FFFFFF
##32197E1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#07364B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32197e;
/* rgb */ color: rgb(50, 25, 126);
/* oklch */ color: oklch(32.4% 0.156 285.0);
Tailwind
colors: {
  custom: {
    50: '#7459a4',
    500: '#32197e',
    950: '#000000',
  },
}
SCSS
$custom: #32197e;
$custom-light: #7459a4;
$custom-dark: #000000;
JSON
{
  "hex": "#32197e",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 254.851,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32415,
    "c": 0.15626,
    "h": 285
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#32197E
secondary
#96B241
accent
#EA3EBF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32197E

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

Preview Lab → · Contrast checker → · Palette generator →

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