#32198A#32198A

#32198A is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.171 H 282.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#32198A
RGBrgb(50, 25, 138)
HSLhsl(253, 69%, 32%)
HSVhsv(253, 82%, 54%)
CMYKcmyk(63.8%, 81.9%, 0%, 45.9%)
CIE-LABlab(20.86, 42.93, -57.82)
CIE-LCHlch(20.86, 72.01, 306.60°)
OKLaboklab(33.71% 0.0366 -0.1668)
OKLCHoklch(33.71% 0.171 282.4)
XYZxyz(6.2490, 3.2079, 24.3297)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32198A #718A19
analogous
#19398A #32198A #6B198A
triadic
#32198A #8A3219 #198A32
tetradic
#32198A #8A1939 #718A19 #198A6B
square
#32198A #8A1939 #718A19 #198A6B
split-complementary
#32198A #8A6B19 #398A19
monochromatic
#0C0622 #1F1056 #32198A #4522BE #6341DD

Accessibility & contrast

On white

12.79
#32198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#32198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32198A
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32198A#FFFFFF#000000##FFFFFF
##32198A1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368D
Deuteranopia (green-blind)
#002E88
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #32198a;
/* rgb */ color: rgb(50, 25, 138);
/* oklch */ color: oklch(33.7% 0.171 282.4);
Tailwind
colors: {
  custom: {
    50: '#775aad',
    500: '#32198a',
    950: '#000000',
  },
}
SCSS
$custom: #32198a;
$custom-light: #775aad;
$custom-dark: #000000;
JSON
{
  "hex": "#32198a",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 253.274,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33711,
    "c": 0.17073,
    "h": 282.4
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#32198A
secondary
#A2BD42
accent
#EC3CC5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #32198A

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

Preview Lab → · Contrast checker → · Palette generator →

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