#51134A#51134A

#51134A is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.115 H 332.9°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#51134A
RGBrgb(81, 19, 74)
HSLhsl(307, 62%, 20%)
HSVhsv(307, 77%, 32%)
CMYKcmyk(0%, 76.5%, 8.6%, 68.2%)
CIE-LABlab(18.84, 35.43, -19.06)
CIE-LCHlch(18.84, 40.23, 331.72°)
OKLaboklab(31.55% 0.1021 -0.0523)
OKLCHoklch(31.55% 0.115 332.9)
XYZxyz(4.8623, 2.7099, 6.7442)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51134A #13511A
analogous
#391351 #51134A #51132B
triadic
#51134A #4A5113 #134A51
tetradic
#51134A #513913 #13511A #132B51
square
#51134A #513913 #13511A #132B51
split-complementary
#51134A #2B5113 #135139
monochromatic
#190617 #1F071D #51134A #831F77 #B42AA5

Accessibility & contrast

On white

13.62
#51134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51134A
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51134A#FFFFFF#000000##FFFFFF
##51134A1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10284C
Deuteranopia (green-blind)
#273148
Tritanopia (blue-blind)
#55192C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51134a;
/* rgb */ color: rgb(81, 19, 74);
/* oklch */ color: oklch(31.5% 0.115 332.9);
Tailwind
colors: {
  custom: {
    50: '#84577c',
    500: '#51134a',
    950: '#000000',
  },
}
SCSS
$custom: #51134a;
$custom-light: #84577c;
$custom-dark: #000000;
JSON
{
  "hex": "#51134a",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 306.774,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31546,
    "c": 0.11469,
    "h": 332.9
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#51134A
secondary
#368A40
accent
#E55543
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #51134A

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

Preview Lab → · Contrast checker → · Palette generator →

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