#51104A#51104A

#51104A is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.119 H 332.8°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#51104A
RGBrgb(81, 16, 74)
HSLhsl(306, 67%, 19%)
HSVhsv(306, 80%, 32%)
CMYKcmyk(0%, 80.2%, 8.6%, 68.2%)
CIE-LABlab(18.43, 36.60, -19.71)
CIE-LCHlch(18.43, 41.57, 331.70°)
OKLaboklab(31.25% 0.1055 -0.0541)
OKLCHoklch(31.25% 0.119 332.8)
XYZxyz(4.8147, 2.6147, 6.7284)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51104A #105117
analogous
#381051 #51104A #51102A
triadic
#51104A #4A5110 #104A51
tetradic
#51104A #513810 #105117 #102A51
square
#51104A #513810 #105117 #102A51
split-complementary
#51104A #2A5110 #105138
monochromatic
#1A0517 #1E061B #51104A #841A79 #B724A7

Accessibility & contrast

On white

13.79
#51104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#51104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51104A
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51104A#FFFFFF#000000##FFFFFF
##51104A1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D274C
Deuteranopia (green-blind)
#263048
Tritanopia (blue-blind)
#55172C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #51104a;
/* rgb */ color: rgb(81, 16, 74);
/* oklch */ color: oklch(31.2% 0.119 332.8);
Tailwind
colors: {
  custom: {
    50: '#84567d',
    500: '#51104a',
    950: '#000000',
  },
}
SCSS
$custom: #51104a;
$custom-light: #84567d;
$custom-dark: #000000;
JSON
{
  "hex": "#51104a",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 306.462,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31248,
    "c": 0.11858,
    "h": 332.8
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#51104A
secondary
#328B3C
accent
#EA503E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #51104A

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

Preview Lab → · Contrast checker → · Palette generator →

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