#32198F#32198F

#32198F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.177 H 281.4°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#32198F
RGBrgb(50, 25, 143)
HSLhsl(253, 70%, 33%)
HSVhsv(253, 83%, 56%)
CMYKcmyk(65%, 82.5%, 0%, 43.9%)
CIE-LABlab(21.42, 44.44, -60.01)
CIE-LCHlch(21.42, 74.67, 306.52°)
OKLaboklab(34.26% 0.0349 -0.1732)
OKLCHoklch(34.26% 0.177 281.4)
XYZxyz(6.6194, 3.3560, 26.2802)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32198F #768F19
analogous
#193B8F #32198F #6D198F
triadic
#32198F #8F3219 #198F32
tetradic
#32198F #8F193B #768F19 #198F6D
square
#32198F #8F193B #768F19 #198F6D
split-complementary
#32198F #8F6D19 #3B8F19
monochromatic
#0E0727 #20105B #32198F #4422C3 #6544DE

Accessibility & contrast

On white

12.56
#32198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32198F
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32198F#FFFFFF#000000##FFFFFF
##32198F1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #32198f;
/* rgb */ color: rgb(50, 25, 143);
/* oklch */ color: oklch(34.3% 0.177 281.4);
Tailwind
colors: {
  custom: {
    50: '#785bb1',
    500: '#32198f',
    950: '#000000',
  },
}
SCSS
$custom: #32198f;
$custom-light: #785bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#32198f",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 252.712,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34263,
    "c": 0.17666,
    "h": 281.4
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #32198F

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

Preview Lab → · Contrast checker → · Palette generator →

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