#51104F#51104F

#51104F is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.123 H 329.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#51104F
RGBrgb(81, 16, 79)
HSLhsl(302, 67%, 19%)
HSVhsv(302, 80%, 32%)
CMYKcmyk(0%, 80.2%, 2.5%, 68.2%)
CIE-LABlab(18.73, 37.50, -22.64)
CIE-LCHlch(18.73, 43.81, 328.88°)
OKLaboklab(31.57% 0.1057 -0.0626)
OKLCHoklch(31.57% 0.123 329.4)
XYZxyz(4.9899, 2.6848, 7.6510)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51104F #105112
analogous
#331051 #51104F #51102F
triadic
#51104F #4F5110 #104F51
tetradic
#51104F #513310 #105112 #102F51
square
#51104F #513310 #105112 #102F51
split-complementary
#51104F #2F5110 #105133
monochromatic
#1A0519 #1E061D #51104F #841A81 #B724B3

Accessibility & contrast

On white

13.66
#51104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#51104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51104F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51104F#FFFFFF#000000##FFFFFF
##51104F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062851
Deuteranopia (green-blind)
#23314D
Tritanopia (blue-blind)
#54192E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51104f;
/* rgb */ color: rgb(81, 16, 79);
/* oklch */ color: oklch(31.6% 0.123 329.4);
Tailwind
colors: {
  custom: {
    50: '#855680',
    500: '#51104f',
    950: '#000000',
  },
}
SCSS
$custom: #51104f;
$custom-light: #855680;
$custom-dark: #000000;
JSON
{
  "hex": "#51104f",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 301.846,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31566,
    "c": 0.12284,
    "h": 329.4
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#51104F
secondary
#328B35
accent
#EA433E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #51104F

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

Preview Lab → · Contrast checker → · Palette generator →

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