#51104D#51104D

#51104D is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.4% C 0.121 H 330.7°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#51104D
RGBrgb(81, 16, 77)
HSLhsl(304, 67%, 19%)
HSVhsv(304, 80%, 32%)
CMYKcmyk(0%, 80.2%, 4.9%, 68.2%)
CIE-LABlab(18.61, 37.14, -21.48)
CIE-LCHlch(18.61, 42.90, 329.96°)
OKLaboklab(31.44% 0.1057 -0.0592)
OKLCHoklch(31.44% 0.121 330.7)
XYZxyz(4.9182, 2.6561, 7.2734)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51104D #105114
analogous
#351051 #51104D #51102D
triadic
#51104D #4D5110 #104D51
tetradic
#51104D #513510 #105114 #102D51
square
#51104D #513510 #105114 #102D51
split-complementary
#51104D #2D5110 #105135
monochromatic
#1A0518 #1E061C #51104D #841A7E #B724AE

Accessibility & contrast

On white

13.71
#51104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#51104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51104D
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51104D#FFFFFF#000000##FFFFFF
##51104D1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09284F
Deuteranopia (green-blind)
#24304B
Tritanopia (blue-blind)
#54182D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #51104d;
/* rgb */ color: rgb(81, 16, 77);
/* oklch */ color: oklch(31.4% 0.121 330.7);
Tailwind
colors: {
  custom: {
    50: '#85567f',
    500: '#51104d',
    950: '#000000',
  },
}
SCSS
$custom: #51104d;
$custom-light: #85567f;
$custom-dark: #000000;
JSON
{
  "hex": "#51104d",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 303.692,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31437,
    "c": 0.12112,
    "h": 330.7
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#51104D
secondary
#328B38
accent
#EA483E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #51104D

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

Preview Lab → · Contrast checker → · Palette generator →

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