#51114A#51114A

#51114A is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.3% C 0.117 H 332.9°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#51114A
RGBrgb(81, 17, 74)
HSLhsl(307, 65%, 19%)
HSVhsv(307, 79%, 32%)
CMYKcmyk(0%, 79%, 8.6%, 68.2%)
CIE-LABlab(18.56, 36.22, -19.50)
CIE-LCHlch(18.56, 41.14, 331.70°)
OKLaboklab(31.34% 0.1044 -0.0535)
OKLCHoklch(31.34% 0.117 332.9)
XYZxyz(4.8298, 2.6450, 6.7334)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51114A #115118
analogous
#381151 #51114A #51112A
triadic
#51114A #4A5111 #114A51
tetradic
#51114A #513811 #115118 #112A51
square
#51114A #513811 #115118 #112A51
split-complementary
#51114A #2A5111 #115138
monochromatic
#190517 #1E061C #51114A #841C78 #B626A6

Accessibility & contrast

On white

13.73
#51114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#51114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51114A
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51114A#FFFFFF#000000##FFFFFF
##51114A1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51114a;
/* rgb */ color: rgb(81, 17, 74);
/* oklch */ color: oklch(31.3% 0.117 332.9);
Tailwind
colors: {
  custom: {
    50: '#84577d',
    500: '#51114a',
    950: '#000000',
  },
}
SCSS
$custom: #51114a;
$custom-light: #84577d;
$custom-dark: #000000;
JSON
{
  "hex": "#51114a",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 306.563,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31344,
    "c": 0.11732,
    "h": 332.9
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#51114A
secondary
#348A3D
accent
#E85240
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #51114A

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

Preview Lab → · Contrast checker → · Palette generator →

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