#51136A#51136A

#51136A is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.144 H 313.8°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#51136A
RGBrgb(81, 19, 106)
HSLhsl(283, 70%, 25%)
HSVhsv(283, 82%, 42%)
CMYKcmyk(23.6%, 82.1%, 0%, 58.4%)
CIE-LABlab(21.04, 41.91, -36.92)
CIE-LCHlch(21.04, 55.85, 318.62°)
OKLaboklab(33.82% 0.0999 -0.1044)
OKLCHoklch(33.82% 0.145 313.8)
XYZxyz(6.2273, 3.2559, 13.9333)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51136A #2C6A13
analogous
#26136A #51136A #6A1358
triadic
#51136A #6A5113 #136A51
tetradic
#51136A #6A2613 #2C6A13 #13586A
square
#51136A #6A2613 #2C6A13 #13586A
split-complementary
#51136A #586A13 #136A26
monochromatic
#14051A #290A36 #51136A #791C9E #A026D2

Accessibility & contrast

On white

12.72
#51136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#51136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51136A
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51136A#FFFFFF#000000##FFFFFF
##51136A1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#0A3468
Tritanopia (blue-blind)
#4E283E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #51136a;
/* rgb */ color: rgb(81, 19, 106);
/* oklch */ color: oklch(33.8% 0.144 313.8);
Tailwind
colors: {
  custom: {
    50: '#855995',
    500: '#51136a',
    950: '#000000',
  },
}
SCSS
$custom: #51136a;
$custom-light: #855995;
$custom-dark: #000000;
JSON
{
  "hex": "#51136a",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 282.759,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33815,
    "c": 0.1445,
    "h": 313.8
  },
  "luminance": 0.03256
}

Semantic roles & 50–950 ramp

primary
#51136A
secondary
#56A138
accent
#EC3B6E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #51136A

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

Preview Lab → · Contrast checker → · Palette generator →

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