#51144C#51144C

#51144C is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.115 H 331.4°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#51144C
RGBrgb(81, 20, 76)
HSLhsl(305, 60%, 20%)
HSVhsv(305, 75%, 32%)
CMYKcmyk(0%, 75.3%, 6.2%, 68.2%)
CIE-LABlab(19.11, 35.38, -20.01)
CIE-LCHlch(19.11, 40.65, 330.50°)
OKLaboklab(31.77% 0.101 -0.055)
OKLCHoklch(31.77% 0.115 331.4)
XYZxyz(4.9480, 2.7718, 7.1105)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51144C #145119
analogous
#381451 #51144C #51142E
triadic
#51144C #4C5114 #144C51
tetradic
#51144C #513814 #145119 #142E51
square
#51144C #513814 #145119 #142E51
split-complementary
#51144C #2E5114 #145138
monochromatic
#190617 #20081E #51144C #82207A #B32CA8

Accessibility & contrast

On white

13.51
#51144C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51144C
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51144C#FFFFFF#000000##FFFFFF
##51144C1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294E
Deuteranopia (green-blind)
#26314A
Tritanopia (blue-blind)
#551B2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51144c;
/* rgb */ color: rgb(81, 20, 76);
/* oklch */ color: oklch(31.8% 0.115 331.4);
Tailwind
colors: {
  custom: {
    50: '#84587e',
    500: '#51144c',
    950: '#000000',
  },
}
SCSS
$custom: #51144c;
$custom-light: #84587e;
$custom-dark: #000000;
JSON
{
  "hex": "#51144c",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 76
  },
  "hsl": {
    "h": 304.918,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31774,
    "c": 0.11505,
    "h": 331.4
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#51144C
secondary
#38893E
accent
#E45144
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #51144C

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

Preview Lab → · Contrast checker → · Palette generator →

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