#51114C#51114C

#51114C is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.119 H 331.4°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#51114C
RGBrgb(81, 17, 76)
HSLhsl(305, 65%, 19%)
HSVhsv(305, 79%, 32%)
CMYKcmyk(0%, 79%, 6.2%, 68.2%)
CIE-LABlab(18.68, 36.58, -20.68)
CIE-LCHlch(18.68, 42.02, 330.52°)
OKLaboklab(31.47% 0.1045 -0.0569)
OKLCHoklch(31.47% 0.119 331.4)
XYZxyz(4.8983, 2.6724, 7.0939)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51114C #115116
analogous
#361151 #51114C #51112C
triadic
#51114C #4C5111 #114C51
tetradic
#51114C #513611 #115116 #112C51
square
#51114C #513611 #115116 #112C51
split-complementary
#51114C #2C5111 #115136
monochromatic
#190518 #1E061D #51114C #841C7B #B626AB

Accessibility & contrast

On white

13.69
#51114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51114C
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51114C#FFFFFF#000000##FFFFFF
##51114C1.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)
#0C284E
Deuteranopia (green-blind)
#25314A
Tritanopia (blue-blind)
#55192D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #51114c;
/* rgb */ color: rgb(81, 17, 76);
/* oklch */ color: oklch(31.5% 0.119 331.4);
Tailwind
colors: {
  custom: {
    50: '#84577e',
    500: '#51114c',
    950: '#000000',
  },
}
SCSS
$custom: #51114c;
$custom-light: #84577e;
$custom-dark: #000000;
JSON
{
  "hex": "#51114c",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 304.688,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31468,
    "c": 0.11902,
    "h": 331.4
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#51114C
secondary
#348A3A
accent
#E84D40
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #51114C

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

Preview Lab → · Contrast checker → · Palette generator →

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