#51134B#51134B

#51134B is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.116 H 332.2°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#51134B
RGBrgb(81, 19, 75)
HSLhsl(306, 62%, 20%)
HSVhsv(306, 77%, 32%)
CMYKcmyk(0%, 76.5%, 7.4%, 68.2%)
CIE-LABlab(18.90, 35.61, -19.65)
CIE-LCHlch(18.90, 40.67, 331.11°)
OKLaboklab(31.61% 0.1022 -0.054)
OKLCHoklch(31.61% 0.116 332.2)
XYZxyz(4.8962, 2.7235, 6.9231)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51134B #135119
analogous
#381351 #51134B #51132C
triadic
#51134B #4B5113 #134B51
tetradic
#51134B #513813 #135119 #132C51
square
#51134B #513813 #135119 #132C51
split-complementary
#51134B #2C5113 #135138
monochromatic
#190617 #1F071D #51134B #831F79 #B42AA7

Accessibility & contrast

On white

13.60
#51134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#51134B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51134B
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51134B#FFFFFF#000000##FFFFFF
##51134B1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F284D
Deuteranopia (green-blind)
#263149
Tritanopia (blue-blind)
#55192D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51134b;
/* rgb */ color: rgb(81, 19, 75);
/* oklch */ color: oklch(31.6% 0.116 332.2);
Tailwind
colors: {
  custom: {
    50: '#84577d',
    500: '#51134b',
    950: '#000000',
  },
}
SCSS
$custom: #51134b;
$custom-light: #84577d;
$custom-dark: #000000;
JSON
{
  "hex": "#51134b",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 305.806,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31606,
    "c": 0.11555,
    "h": 332.2
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#51134B
secondary
#368A3E
accent
#E55243
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #51134B

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

Preview Lab → · Contrast checker → · Palette generator →

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