#32197F#32197F

#32197F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.157 H 284.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#32197F
RGBrgb(50, 25, 127)
HSLhsl(255, 67%, 30%)
HSVhsv(255, 80%, 50%)
CMYKcmyk(60.6%, 80.3%, 0%, 50.2%)
CIE-LABlab(19.66, 39.60, -52.86)
CIE-LCHlch(19.66, 66.05, 306.84°)
OKLaboklab(32.52% 0.0401 -0.1523)
OKLCHoklch(32.52% 0.157 284.7)
XYZxyz(5.4926, 2.9053, 20.3459)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32197F #667F19
analogous
#19337F #32197F #65197F
triadic
#32197F #7F3219 #197F32
tetradic
#32197F #7F1933 #667F19 #197F65
square
#32197F #7F1933 #667F19 #197F65
split-complementary
#32197F #7F6519 #337F19
monochromatic
#0A051A #1E0F4C #32197F #4623B2 #613AD8

Accessibility & contrast

On white

13.28
#32197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32197F
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32197F#FFFFFF#000000##FFFFFF
##32197F1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#04374C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #32197f;
/* rgb */ color: rgb(50, 25, 127);
/* oklch */ color: oklch(32.5% 0.157 284.7);
Tailwind
colors: {
  custom: {
    50: '#7459a5',
    500: '#32197f',
    950: '#000000',
  },
}
SCSS
$custom: #32197f;
$custom-light: #7459a5;
$custom-dark: #000000;
JSON
{
  "hex": "#32197f",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 254.706,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32521,
    "c": 0.15749,
    "h": 284.7
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#32197F
secondary
#97B341
accent
#EA3EC0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32197F

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

Preview Lab → · Contrast checker → · Palette generator →

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