#32198B#32198B

#32198B is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.172 H 282.2°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#32198B
RGBrgb(50, 25, 139)
HSLhsl(253, 70%, 32%)
HSVhsv(253, 82%, 55%)
CMYKcmyk(64%, 82%, 0%, 45.5%)
CIE-LABlab(20.97, 43.23, -58.26)
CIE-LCHlch(20.97, 72.55, 306.58°)
OKLaboklab(33.82% 0.0362 -0.1681)
OKLCHoklch(33.82% 0.172 282.2)
XYZxyz(6.3218, 3.2370, 24.7128)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32198B #728B19
analogous
#19398B #32198B #6B198B
triadic
#32198B #8B3219 #198B32
tetradic
#32198B #8B1939 #728B19 #198B6B
square
#32198B #8B1939 #728B19 #198B6B
split-complementary
#32198B #8B6B19 #398B19
monochromatic
#0D0623 #1F1057 #32198B #4522BF #6441DD

Accessibility & contrast

On white

12.75
#32198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#32198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32198B
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32198B#FFFFFF#000000##FFFFFF
##32198B1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002E89
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #32198b;
/* rgb */ color: rgb(50, 25, 139);
/* oklch */ color: oklch(33.8% 0.172 282.2);
Tailwind
colors: {
  custom: {
    50: '#775aae',
    500: '#32198b',
    950: '#000000',
  },
}
SCSS
$custom: #32198b;
$custom-light: #775aae;
$custom-dark: #000000;
JSON
{
  "hex": "#32198b",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 253.158,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33821,
    "c": 0.17192,
    "h": 282.2
  },
  "luminance": 0.03237
}

Semantic roles & 50–950 ramp

primary
#32198B
secondary
#A3BE42
accent
#EC3BC6
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #32198B

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

Preview Lab → · Contrast checker → · Palette generator →

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