#32104C#32104C

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

Color values

HEX#32104C
RGBrgb(50, 16, 76)
HSLhsl(274, 65%, 18%)
HSVhsv(274, 79%, 30%)
CMYKcmyk(34.2%, 78.9%, 0%, 70.2%)
CIE-LABlab(13.05, 29.30, -30.00)
CIE-LCHlch(13.05, 41.94, 314.32°)
OKLaboklab(26.35% 0.0625 -0.0852)
OKLCHoklch(26.35% 0.106 306.2)
XYZxyz(2.8049, 1.5705, 6.9915)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32104C #2A4C10
analogous
#14104C #32104C #4C1048
triadic
#32104C #4C3210 #104C32
tetradic
#32104C #4C1410 #2A4C10 #10484C
square
#32104C #4C1410 #2A4C10 #10484C
split-complementary
#32104C #484C10 #104C14
monochromatic
#110519 #110519 #32104C #531B7F #7525B1

Accessibility & contrast

On white

15.98
#32104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32104C
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32104C#FFFFFF#000000##FFFFFF
##32104C1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#00224B
Tritanopia (blue-blind)
#2D1E2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #32104c;
/* rgb */ color: rgb(50, 16, 76);
/* oklch */ color: oklch(26.3% 0.106 306.2);
Tailwind
colors: {
  custom: {
    50: '#6d527e',
    500: '#32104c',
    950: '#000000',
  },
}
SCSS
$custom: #32104c;
$custom-light: #6d527e;
$custom-dark: #000000;
JSON
{
  "hex": "#32104c",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 274,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26346,
    "c": 0.10566,
    "h": 306.2
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#32104C
secondary
#568632
accent
#E84089
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #32104C

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

Preview Lab → · Contrast checker → · Palette generator →

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