#51104E#51104E

#51104E is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.122 H 330.0°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#51104E
RGBrgb(81, 16, 78)
HSLhsl(303, 67%, 19%)
HSVhsv(303, 80%, 32%)
CMYKcmyk(0%, 80.2%, 3.7%, 68.2%)
CIE-LABlab(18.67, 37.32, -22.06)
CIE-LCHlch(18.67, 43.35, 329.41°)
OKLaboklab(31.5% 0.1057 -0.0609)
OKLCHoklch(31.5% 0.122 330)
XYZxyz(4.9538, 2.6704, 7.4608)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51104E #105113
analogous
#341051 #51104E #51102E
triadic
#51104E #4E5110 #104E51
tetradic
#51104E #513410 #105113 #102E51
square
#51104E #513410 #105113 #102E51
split-complementary
#51104E #2E5110 #105134
monochromatic
#1A0519 #1E061D #51104E #841A7F #B724B0

Accessibility & contrast

On white

13.69
#51104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51104E
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51104E#FFFFFF#000000##FFFFFF
##51104E1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082850
Deuteranopia (green-blind)
#24314C
Tritanopia (blue-blind)
#54192E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #51104e;
/* rgb */ color: rgb(81, 16, 78);
/* oklch */ color: oklch(31.5% 0.122 330.0);
Tailwind
colors: {
  custom: {
    50: '#855680',
    500: '#51104e',
    950: '#000000',
  },
}
SCSS
$custom: #51104e;
$custom-light: #855680;
$custom-dark: #000000;
JSON
{
  "hex": "#51104e",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 302.769,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31501,
    "c": 0.12197,
    "h": 330
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#51104E
secondary
#328B36
accent
#EA463E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #51104E

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

Preview Lab → · Contrast checker → · Palette generator →

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