#51105F#51105F

#51105F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.7% C 0.137 H 319.6°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#51105F
RGBrgb(81, 16, 95)
HSLhsl(289, 71%, 22%)
HSVhsv(289, 83%, 37%)
CMYKcmyk(14.7%, 83.2%, 0%, 62.7%)
CIE-LABlab(19.83, 40.64, -31.65)
CIE-LCHlch(19.83, 51.50, 322.09°)
OKLaboklab(32.69% 0.1046 -0.0889)
OKLCHoklch(32.69% 0.137 319.6)
XYZxyz(5.6439, 2.9464, 11.0957)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51105F #1E5F10
analogous
#2A105F #51105F #5F1046
triadic
#51105F #5F5110 #105F51
tetradic
#51105F #5F2A10 #1E5F10 #10465F
square
#51105F #5F2A10 #1E5F10 #10465F
split-complementary
#51105F #465F10 #105F2A
monochromatic
#16041A #24072B #51105F #7E1993 #AA22C8

Accessibility & contrast

On white

13.21
#51105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51105F
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51105F#FFFFFF#000000##FFFFFF
##51105F1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#17325D
Tritanopia (blue-blind)
#512137
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #51105f;
/* rgb */ color: rgb(81, 16, 95);
/* oklch */ color: oklch(32.7% 0.137 319.6);
Tailwind
colors: {
  custom: {
    50: '#85578d',
    500: '#51105f',
    950: '#000000',
  },
}
SCSS
$custom: #51105f;
$custom-light: #85578d;
$custom-dark: #000000;
JSON
{
  "hex": "#51105f",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 289.367,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32694,
    "c": 0.13724,
    "h": 319.6
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#51105F
secondary
#459833
accent
#EE3A5A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #51105F

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

Preview Lab → · Contrast checker → · Palette generator →

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