#51105E#51105E

#51105E is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.136 H 320.2°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#51105E
RGBrgb(81, 16, 94)
HSLhsl(290, 71%, 22%)
HSVhsv(290, 83%, 37%)
CMYKcmyk(13.8%, 83%, 0%, 63.1%)
CIE-LABlab(19.75, 40.43, -31.10)
CIE-LCHlch(19.75, 51.01, 322.43°)
OKLaboklab(32.62% 0.1047 -0.0873)
OKLCHoklch(32.62% 0.136 320.2)
XYZxyz(5.5988, 2.9284, 10.8578)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51105E #1D5E10
analogous
#2A105E #51105E #5E1044
triadic
#51105E #5E5110 #105E51
tetradic
#51105E #5E2A10 #1D5E10 #10445E
square
#51105E #5E2A10 #1D5E10 #10445E
split-complementary
#51105E #445E10 #105E2A
monochromatic
#17041A #24072A #51105E #7E1992 #AB22C7

Accessibility & contrast

On white

13.24
#51105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#51105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51105E
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51105E#FFFFFF#000000##FFFFFF
##51105E1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#18325C
Tritanopia (blue-blind)
#512137
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #51105e;
/* rgb */ color: rgb(81, 16, 94);
/* oklch */ color: oklch(32.6% 0.136 320.2);
Tailwind
colors: {
  custom: {
    50: '#85578c',
    500: '#51105e',
    950: '#000000',
  },
}
SCSS
$custom: #51105e;
$custom-light: #85578c;
$custom-dark: #000000;
JSON
{
  "hex": "#51105e",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 290,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32618,
    "c": 0.13632,
    "h": 320.2
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#51105E
secondary
#449733
accent
#EE3A58
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #51105E

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

Preview Lab → · Contrast checker → · Palette generator →

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