#51105B#51105B

#51105B is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.134 H 321.9°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#51105B
RGBrgb(81, 16, 91)
HSLhsl(292, 70%, 21%)
HSVhsv(292, 82%, 36%)
CMYKcmyk(11%, 82.4%, 0%, 64.3%)
CIE-LABlab(19.54, 39.82, -29.45)
CIE-LCHlch(19.54, 49.53, 323.52°)
OKLaboklab(32.4% 0.1051 -0.0824)
OKLCHoklch(32.4% 0.134 321.9)
XYZxyz(5.4668, 2.8756, 10.1626)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51105B #1A5B10
analogous
#2B105B #51105B #5B103F
triadic
#51105B #5B5110 #105B51
tetradic
#51105B #5B2B10 #1A5B10 #103F5B
square
#51105B #5B2B10 #1A5B10 #103F5B
split-complementary
#51105B #3F5B10 #105B2B
monochromatic
#17051A #230727 #51105B #7F198F #AE22C3

Accessibility & contrast

On white

13.33
#51105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#51105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51105B
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51105B#FFFFFF#000000##FFFFFF
##51105B1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#1B3259
Tritanopia (blue-blind)
#521F35
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #51105b;
/* rgb */ color: rgb(81, 16, 91);
/* oklch */ color: oklch(32.4% 0.134 321.9);
Tailwind
colors: {
  custom: {
    50: '#85578a',
    500: '#51105b',
    950: '#000000',
  },
}
SCSS
$custom: #51105b;
$custom-light: #85578a;
$custom-dark: #000000;
JSON
{
  "hex": "#51105b",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 292,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32396,
    "c": 0.13356,
    "h": 321.9
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#51105B
secondary
#409433
accent
#ED3B53
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #51105B

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

Preview Lab → · Contrast checker → · Palette generator →

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