#32197A#32197A

#32197A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.151 H 285.9°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#32197A
RGBrgb(50, 25, 122)
HSLhsl(255, 66%, 29%)
HSVhsv(255, 80%, 48%)
CMYKcmyk(59%, 79.5%, 0%, 52.2%)
CIE-LABlab(19.13, 38.07, -50.54)
CIE-LCHlch(19.13, 63.28, 306.99°)
OKLaboklab(31.99% 0.0416 -0.1455)
OKLCHoklch(31.99% 0.151 285.9)
XYZxyz(5.1748, 2.7782, 18.6721)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32197A #617A19
analogous
#19317A #32197A #63197A
triadic
#32197A #7A3219 #197A32
tetradic
#32197A #7A1931 #617A19 #197A63
square
#32197A #7A1931 #617A19 #197A63
split-complementary
#32197A #7A6319 #317A19
monochromatic
#0A0519 #1D0F47 #32197A #4723AD #6037D6

Accessibility & contrast

On white

13.50
#32197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#32197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32197A
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32197A#FFFFFF#000000##FFFFFF
##32197A1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#0E3549
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #32197a;
/* rgb */ color: rgb(50, 25, 122);
/* oklch */ color: oklch(32.0% 0.151 285.9);
Tailwind
colors: {
  custom: {
    50: '#7359a1',
    500: '#32197a',
    950: '#000000',
  },
}
SCSS
$custom: #32197a;
$custom-light: #7359a1;
$custom-dark: #000000;
JSON
{
  "hex": "#32197a",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 255.464,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31994,
    "c": 0.15136,
    "h": 285.9
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#32197A
secondary
#92AF40
accent
#E93FBD
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32197A

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

Preview Lab → · Contrast checker → · Palette generator →

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