#32197D#32197D

#32197D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.155 H 285.2°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#32197D
RGBrgb(50, 25, 125)
HSLhsl(255, 67%, 29%)
HSVhsv(255, 80%, 49%)
CMYKcmyk(60%, 80%, 0%, 51%)
CIE-LABlab(19.45, 38.99, -51.94)
CIE-LCHlch(19.45, 64.94, 306.90°)
OKLaboklab(32.31% 0.0407 -0.1496)
OKLCHoklch(32.31% 0.155 285.2)
XYZxyz(5.3636, 2.8537, 19.6663)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32197D #647D19
analogous
#19327D #32197D #64197D
triadic
#32197D #7D3219 #197D32
tetradic
#32197D #7D1932 #647D19 #197D64
square
#32197D #7D1932 #647D19 #197D64
split-complementary
#32197D #7D6419 #327D19
monochromatic
#0A051A #1E0F4A #32197D #4623B0 #6139D7

Accessibility & contrast

On white

13.37
#32197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#32197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32197D
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32197D#FFFFFF#000000##FFFFFF
##32197D1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#09364A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32197d;
/* rgb */ color: rgb(50, 25, 125);
/* oklch */ color: oklch(32.3% 0.155 285.2);
Tailwind
colors: {
  custom: {
    50: '#7459a4',
    500: '#32197d',
    950: '#000000',
  },
}
SCSS
$custom: #32197d;
$custom-light: #7459a4;
$custom-dark: #000000;
JSON
{
  "hex": "#32197d",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 255,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32309,
    "c": 0.15504,
    "h": 285.2
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#32197D
secondary
#95B140
accent
#EA3EBF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32197D

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

Preview Lab → · Contrast checker → · Palette generator →

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