#32198E#32198E

#32198E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.175 H 281.6°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#32198E
RGBrgb(50, 25, 142)
HSLhsl(253, 70%, 33%)
HSVhsv(253, 82%, 56%)
CMYKcmyk(64.8%, 82.4%, 0%, 44.3%)
CIE-LABlab(21.30, 44.13, -59.58)
CIE-LCHlch(21.30, 74.14, 306.53°)
OKLaboklab(34.15% 0.0352 -0.1719)
OKLCHoklch(34.15% 0.175 281.6)
XYZxyz(6.5440, 3.3259, 25.8831)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32198E #758E19
analogous
#193A8E #32198E #6D198E
triadic
#32198E #8E3219 #198E32
tetradic
#32198E #8E193A #758E19 #198E6D
square
#32198E #8E193A #758E19 #198E6D
split-complementary
#32198E #8E6D19 #3A8E19
monochromatic
#0D0726 #20105A #32198E #4422C2 #6443DE

Accessibility & contrast

On white

12.61
#32198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#32198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32198E
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32198E#FFFFFF#000000##FFFFFF
##32198E1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #32198e;
/* rgb */ color: rgb(50, 25, 142);
/* oklch */ color: oklch(34.2% 0.175 281.6);
Tailwind
colors: {
  custom: {
    50: '#775ab0',
    500: '#32198e',
    950: '#000000',
  },
}
SCSS
$custom: #32198e;
$custom-light: #775ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#32198e",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 252.821,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34152,
    "c": 0.17548,
    "h": 281.6
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#32198E
secondary
#A5BF44
accent
#ED3BC7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #32198E

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

Preview Lab → · Contrast checker → · Palette generator →

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