#32198C#32198C

#32198C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.173 H 282.0°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#32198C
RGBrgb(50, 25, 140)
HSLhsl(253, 70%, 32%)
HSVhsv(253, 82%, 55%)
CMYKcmyk(64.3%, 82.1%, 0%, 45.1%)
CIE-LABlab(21.08, 43.53, -58.70)
CIE-LCHlch(21.08, 73.08, 306.56°)
OKLaboklab(33.93% 0.0359 -0.1693)
OKLCHoklch(33.93% 0.173 282)
XYZxyz(6.3952, 3.2664, 25.0993)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32198C #738C19
analogous
#193A8C #32198C #6B198C
triadic
#32198C #8C3219 #198C32
tetradic
#32198C #8C193A #738C19 #198C6B
square
#32198C #8C193A #738C19 #198C6B
split-complementary
#32198C #8C6B19 #3A8C19
monochromatic
#0D0624 #1F1058 #32198C #4522C0 #6442DD

Accessibility & contrast

On white

12.70
#32198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32198C
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32198C#FFFFFF#000000##FFFFFF
##32198C1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002F8A
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #32198c;
/* rgb */ color: rgb(50, 25, 140);
/* oklch */ color: oklch(33.9% 0.173 282.0);
Tailwind
colors: {
  custom: {
    50: '#775aaf',
    500: '#32198c',
    950: '#000000',
  },
}
SCSS
$custom: #32198c;
$custom-light: #775aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#32198c",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 253.043,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33931,
    "c": 0.17311,
    "h": 282
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#32198C
secondary
#A3BE43
accent
#ED3BC6
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #32198C

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

Preview Lab → · Contrast checker → · Palette generator →

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