#32197B#32197B

#32197B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.153 H 285.7°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#32197B
RGBrgb(50, 25, 123)
HSLhsl(255, 66%, 29%)
HSVhsv(255, 80%, 48%)
CMYKcmyk(59.3%, 79.7%, 0%, 51.8%)
CIE-LABlab(19.24, 38.38, -51.01)
CIE-LCHlch(19.24, 63.83, 306.96°)
OKLaboklab(32.1% 0.0413 -0.1469)
OKLCHoklch(32.1% 0.153 285.7)
XYZxyz(5.2371, 2.8031, 19.0001)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32197B #627B19
analogous
#19317B #32197B #63197B
triadic
#32197B #7B3219 #197B32
tetradic
#32197B #7B1931 #627B19 #197B63
square
#32197B #7B1931 #627B19 #197B63
split-complementary
#32197B #7B6319 #317B19
monochromatic
#0A0519 #1D0F48 #32197B #4723AE #6038D7

Accessibility & contrast

On white

13.46
#32197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#32197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32197B
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32197B#FFFFFF#000000##FFFFFF
##32197B1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#0D3549
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32197b;
/* rgb */ color: rgb(50, 25, 123);
/* oklch */ color: oklch(32.1% 0.153 285.7);
Tailwind
colors: {
  custom: {
    50: '#7459a2',
    500: '#32197b',
    950: '#000000',
  },
}
SCSS
$custom: #32197b;
$custom-light: #7459a2;
$custom-dark: #000000;
JSON
{
  "hex": "#32197b",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 255.306,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32098,
    "c": 0.15259,
    "h": 285.7
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#32197B
secondary
#93AF40
accent
#E93FBE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32197B

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

Preview Lab → · Contrast checker → · Palette generator →

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