#51144E#51144E

#51144E is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.117 H 330.0°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#51144E
RGBrgb(81, 20, 78)
HSLhsl(303, 60%, 20%)
HSVhsv(303, 75%, 32%)
CMYKcmyk(0%, 75.3%, 3.7%, 68.2%)
CIE-LABlab(19.22, 35.75, -21.19)
CIE-LCHlch(19.22, 41.56, 329.35°)
OKLaboklab(31.9% 0.1012 -0.0584)
OKLCHoklch(31.9% 0.117 330)
XYZxyz(5.0186, 2.8001, 7.4824)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51144E #145117
analogous
#361451 #51144E #511430
triadic
#51144E #4E5114 #144E51
tetradic
#51144E #513614 #145117 #143051
square
#51144E #513614 #145117 #143051
split-complementary
#51144E #305114 #145136
monochromatic
#190618 #20081F #51144E #82207D #B32CAD

Accessibility & contrast

On white

13.46
#51144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#51144E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51144E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51144E#FFFFFF#000000##FFFFFF
##51144E1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2950
Deuteranopia (green-blind)
#25324C
Tritanopia (blue-blind)
#541C2F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #51144e;
/* rgb */ color: rgb(81, 20, 78);
/* oklch */ color: oklch(31.9% 0.117 330.0);
Tailwind
colors: {
  custom: {
    50: '#845880',
    500: '#51144e',
    950: '#000000',
  },
}
SCSS
$custom: #51144e;
$custom-light: #845880;
$custom-dark: #000000;
JSON
{
  "hex": "#51144e",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 302.951,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31898,
    "c": 0.11683,
    "h": 330
  },
  "luminance": 0.028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51144E

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

Preview Lab → · Contrast checker → · Palette generator →

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