#51144B#51144B

#51144B is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.114 H 332.2°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#51144B
RGBrgb(81, 20, 75)
HSLhsl(306, 60%, 20%)
HSVhsv(306, 75%, 32%)
CMYKcmyk(0%, 75.3%, 7.4%, 68.2%)
CIE-LABlab(19.05, 35.19, -19.42)
CIE-LCHlch(19.05, 40.20, 331.11°)
OKLaboklab(31.71% 0.101 -0.0533)
OKLCHoklch(31.71% 0.114 332.2)
XYZxyz(4.9135, 2.7580, 6.9288)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51144B #14511A
analogous
#391451 #51144B #51142C
triadic
#51144B #4B5114 #144B51
tetradic
#51144B #513914 #14511A #142C51
square
#51144B #513914 #14511A #142C51
split-complementary
#51144B #2C5114 #145139
monochromatic
#190617 #20081E #51144B #822078 #B32CA6

Accessibility & contrast

On white

13.53
#51144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#51144B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51144B
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51144B#FFFFFF#000000##FFFFFF
##51144B1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294D
Deuteranopia (green-blind)
#273149
Tritanopia (blue-blind)
#551A2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51144b;
/* rgb */ color: rgb(81, 20, 75);
/* oklch */ color: oklch(31.7% 0.114 332.2);
Tailwind
colors: {
  custom: {
    50: '#84587d',
    500: '#51144b',
    950: '#000000',
  },
}
SCSS
$custom: #51144b;
$custom-light: #84587d;
$custom-dark: #000000;
JSON
{
  "hex": "#51144b",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 305.902,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31713,
    "c": 0.11418,
    "h": 332.2
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#51144B
secondary
#388940
accent
#E45444
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #51144B

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

Preview Lab → · Contrast checker → · Palette generator →

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