#32104D#32104D

#32104D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.107 H 305.7°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#32104D
RGBrgb(50, 16, 77)
HSLhsl(273, 66%, 18%)
HSVhsv(273, 79%, 30%)
CMYKcmyk(35.1%, 79.2%, 0%, 69.8%)
CIE-LABlab(13.14, 29.57, -30.55)
CIE-LCHlch(13.14, 42.52, 314.06°)
OKLaboklab(26.43% 0.0623 -0.0868)
OKLCHoklch(26.43% 0.107 305.7)
XYZxyz(2.8399, 1.5845, 7.1760)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32104D #2B4D10
analogous
#14104D #32104D #4D1049
triadic
#32104D #4D3210 #104D32
tetradic
#32104D #4D1410 #2B4D10 #10494D
square
#32104D #4D1410 #2B4D10 #10494D
split-complementary
#32104D #494D10 #104D14
monochromatic
#100519 #11051A #32104D #531B80 #7425B2

Accessibility & contrast

On white

15.95
#32104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#32104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32104D
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32104D#FFFFFF#000000##FFFFFF
##32104D1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#00224C
Tritanopia (blue-blind)
#2D1E2D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #32104d;
/* rgb */ color: rgb(50, 16, 77);
/* oklch */ color: oklch(26.4% 0.107 305.7);
Tailwind
colors: {
  custom: {
    50: '#6d527f',
    500: '#32104d',
    950: '#000000',
  },
}
SCSS
$custom: #32104d;
$custom-light: #6d527f;
$custom-dark: #000000;
JSON
{
  "hex": "#32104d",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 273.443,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26434,
    "c": 0.10686,
    "h": 305.7
  },
  "luminance": 0.01585
}

Semantic roles & 50–950 ramp

primary
#32104D
secondary
#588732
accent
#E93F8A
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #32104D

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

Preview Lab → · Contrast checker → · Palette generator →

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