#32197C#32197C

#32197C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.154 H 285.4°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#32197C
RGBrgb(50, 25, 124)
HSLhsl(255, 66%, 29%)
HSVhsv(255, 80%, 49%)
CMYKcmyk(59.7%, 79.8%, 0%, 51.4%)
CIE-LABlab(19.34, 38.68, -51.47)
CIE-LCHlch(19.34, 64.39, 306.93°)
OKLaboklab(32.2% 0.041 -0.1483)
OKLCHoklch(32.2% 0.154 285.4)
XYZxyz(5.3000, 2.8283, 19.3315)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32197C #637C19
analogous
#19317C #32197C #64197C
triadic
#32197C #7C3219 #197C32
tetradic
#32197C #7C1931 #637C19 #197C64
square
#32197C #7C1931 #637C19 #197C64
split-complementary
#32197C #7C6419 #317C19
monochromatic
#0A0519 #1D0F49 #32197C #4723AF #6038D7

Accessibility & contrast

On white

13.41
#32197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#32197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32197C
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32197C#FFFFFF#000000##FFFFFF
##32197C1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#0B364A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32197c;
/* rgb */ color: rgb(50, 25, 124);
/* oklch */ color: oklch(32.2% 0.154 285.4);
Tailwind
colors: {
  custom: {
    50: '#7459a3',
    500: '#32197c',
    950: '#000000',
  },
}
SCSS
$custom: #32197c;
$custom-light: #7459a3;
$custom-dark: #000000;
JSON
{
  "hex": "#32197c",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 255.152,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32204,
    "c": 0.15382,
    "h": 285.4
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#32197C
secondary
#94B040
accent
#E93EBE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32197C

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

Preview Lab → · Contrast checker → · Palette generator →

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