#32104A#32104A

#32104A is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.2% C 0.103 H 307.5°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#32104A
RGBrgb(50, 16, 74)
HSLhsl(275, 64%, 18%)
HSVhsv(275, 78%, 29%)
CMYKcmyk(32.4%, 78.4%, 0%, 71%)
CIE-LABlab(12.88, 28.77, -28.89)
CIE-LCHlch(12.88, 40.77, 314.87°)
OKLaboklab(26.17% 0.0628 -0.082)
OKLCHoklch(26.17% 0.103 307.5)
XYZxyz(2.7365, 1.5431, 6.6309)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32104A #284A10
analogous
#15104A #32104A #4A1045
triadic
#32104A #4A3210 #104A32
tetradic
#32104A #4A1510 #284A10 #10454A
square
#32104A #4A1510 #284A10 #10454A
split-complementary
#32104A #454A10 #104A15
monochromatic
#110519 #110519 #32104A #541B7C #7626AF

Accessibility & contrast

On white

16.05
#32104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#32104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32104A
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32104A#FFFFFF#000000##FFFFFF
##32104A1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#022249
Tritanopia (blue-blind)
#2E1D2B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #32104a;
/* rgb */ color: rgb(50, 16, 74);
/* oklch */ color: oklch(26.2% 0.103 307.5);
Tailwind
colors: {
  custom: {
    50: '#6d517d',
    500: '#32104a',
    950: '#000000',
  },
}
SCSS
$custom: #32104a;
$custom-light: #6d517d;
$custom-dark: #000000;
JSON
{
  "hex": "#32104a",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 275.172,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26172,
    "c": 0.10327,
    "h": 307.5
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#32104A
secondary
#548432
accent
#E74085
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #32104A

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

Preview Lab → · Contrast checker → · Palette generator →

#32104A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva