#32104B#32104B

#32104B is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.104 H 306.9°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#32104B
RGBrgb(50, 16, 75)
HSLhsl(275, 65%, 18%)
HSVhsv(275, 79%, 29%)
CMYKcmyk(33.3%, 78.7%, 0%, 70.6%)
CIE-LABlab(12.96, 29.03, -29.45)
CIE-LCHlch(12.96, 41.35, 314.59°)
OKLaboklab(26.26% 0.0627 -0.0836)
OKLCHoklch(26.26% 0.104 306.9)
XYZxyz(2.7704, 1.5567, 6.8098)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32104B #294B10
analogous
#14104B #32104B #4B1046
triadic
#32104B #4B3210 #104B32
tetradic
#32104B #4B1410 #294B10 #10464B
square
#32104B #4B1410 #294B10 #10464B
split-complementary
#32104B #464B10 #104B14
monochromatic
#110519 #110519 #32104B #541B7D #7526B0

Accessibility & contrast

On white

16.01
#32104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32104B
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32104B#FFFFFF#000000##FFFFFF
##32104B1.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#00224A
Tritanopia (blue-blind)
#2E1E2C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #32104b;
/* rgb */ color: rgb(50, 16, 75);
/* oklch */ color: oklch(26.3% 0.104 306.9);
Tailwind
colors: {
  custom: {
    50: '#6d527e',
    500: '#32104b',
    950: '#000000',
  },
}
SCSS
$custom: #32104b;
$custom-light: #6d527e;
$custom-dark: #000000;
JSON
{
  "hex": "#32104b",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 274.576,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26258,
    "c": 0.10447,
    "h": 306.9
  },
  "luminance": 0.01557
}

Semantic roles & 50–950 ramp

primary
#32104B
secondary
#558532
accent
#E84087
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #32104B

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

Preview Lab → · Contrast checker → · Palette generator →

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