#51114B#51114B

#51114B is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.118 H 332.1°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#51114B
RGBrgb(81, 17, 75)
HSLhsl(306, 65%, 19%)
HSVhsv(306, 79%, 32%)
CMYKcmyk(0%, 79%, 7.4%, 68.2%)
CIE-LABlab(18.62, 36.40, -20.09)
CIE-LCHlch(18.62, 41.58, 331.10°)
OKLaboklab(31.41% 0.1045 -0.0552)
OKLCHoklch(31.41% 0.118 332.1)
XYZxyz(4.8638, 2.6586, 6.9122)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51114B #115117
analogous
#371151 #51114B #51112B
triadic
#51114B #4B5111 #114B51
tetradic
#51114B #513711 #115117 #112B51
square
#51114B #513711 #115117 #112B51
split-complementary
#51114B #2B5111 #115137
monochromatic
#190517 #1E061C #51114B #841C7A #B626A9

Accessibility & contrast

On white

13.71
#51114B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51114B
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51114B#FFFFFF#000000##FFFFFF
##51114B1.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)
#0D284D
Deuteranopia (green-blind)
#263149
Tritanopia (blue-blind)
#55182C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #51114b;
/* rgb */ color: rgb(81, 17, 75);
/* oklch */ color: oklch(31.4% 0.118 332.1);
Tailwind
colors: {
  custom: {
    50: '#84577d',
    500: '#51114b',
    950: '#000000',
  },
}
SCSS
$custom: #51114b;
$custom-light: #84577d;
$custom-dark: #000000;
JSON
{
  "hex": "#51114b",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 75
  },
  "hsl": {
    "h": 305.625,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31405,
    "c": 0.11817,
    "h": 332.1
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#51114B
secondary
#348A3C
accent
#E84F40
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #51114B

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

Preview Lab → · Contrast checker → · Palette generator →

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