#32108D#32108D

#32108D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.181 H 282.7°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#32108D
RGBrgb(50, 16, 141)
HSLhsl(256, 80%, 31%)
HSVhsv(256, 89%, 55%)
CMYKcmyk(64.5%, 88.7%, 0%, 44.7%)
CIE-LABlab(19.93, 47.56, -61.23)
CIE-LCHlch(19.93, 77.53, 307.84°)
OKLaboklab(33.17% 0.0399 -0.1766)
OKLCHoklch(33.17% 0.181 282.7)
XYZxyz(6.3069, 2.9713, 25.4353)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32108D #6B8D10
analogous
#102C8D #32108D #70108D
triadic
#32108D #8D3210 #108D32
tetradic
#32108D #8D102C #6B8D10 #108D70
square
#32108D #8D102C #6B8D10 #108D70
split-complementary
#32108D #8D7010 #2C8D10
monochromatic
#0B041F #1F0A56 #32108D #4516C4 #6230E7

Accessibility & contrast

On white

13.17
#32108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#32108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32108D
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32108D#FFFFFF#000000##FFFFFF
##32108D1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#002C8B
Tritanopia (blue-blind)
#003A52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #32108d;
/* rgb */ color: rgb(50, 16, 141);
/* oklch */ color: oklch(33.2% 0.181 282.7);
Tailwind
colors: {
  custom: {
    50: '#7856b0',
    500: '#32108d',
    950: '#000000',
  },
}
SCSS
$custom: #32108d;
$custom-light: #7856b0;
$custom-dark: #000000;
JSON
{
  "hex": "#32108d",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 256.32,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33174,
    "c": 0.18102,
    "h": 282.7
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#32108D
secondary
#9CC237
accent
#F632C1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #32108D

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

Preview Lab → · Contrast checker → · Palette generator →

#32108D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva