#51134D#51134D

#51134D is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.117 H 330.7°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#51134D
RGBrgb(81, 19, 77)
HSLhsl(304, 62%, 20%)
HSVhsv(304, 77%, 32%)
CMYKcmyk(0%, 76.5%, 4.9%, 68.2%)
CIE-LABlab(19.02, 35.98, -20.83)
CIE-LCHlch(19.02, 41.57, 329.93°)
OKLaboklab(31.73% 0.1023 -0.0574)
OKLCHoklch(31.73% 0.117 330.7)
XYZxyz(4.9658, 2.7513, 7.2892)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51134D #135117
analogous
#361351 #51134D #51132E
triadic
#51134D #4D5113 #134D51
tetradic
#51134D #513613 #135117 #132E51
square
#51134D #513613 #135117 #132E51
split-complementary
#51134D #2E5113 #135136
monochromatic
#190618 #1F071E #51134D #831F7C #B42AAB

Accessibility & contrast

On white

13.55
#51134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#51134D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51134D
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51134D#FFFFFF#000000##FFFFFF
##51134D1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D294F
Deuteranopia (green-blind)
#25314B
Tritanopia (blue-blind)
#541A2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51134d;
/* rgb */ color: rgb(81, 19, 77);
/* oklch */ color: oklch(31.7% 0.117 330.7);
Tailwind
colors: {
  custom: {
    50: '#84587f',
    500: '#51134d',
    950: '#000000',
  },
}
SCSS
$custom: #51134d;
$custom-light: #84587f;
$custom-dark: #000000;
JSON
{
  "hex": "#51134d",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 303.871,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3173,
    "c": 0.11729,
    "h": 330.7
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#51134D
secondary
#368A3C
accent
#E54D43
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #51134D

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

Preview Lab → · Contrast checker → · Palette generator →

#51134D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva