#51105A#51105A

#51105A is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.133 H 322.5°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#51105A
RGBrgb(81, 16, 90)
HSLhsl(293, 70%, 21%)
HSVhsv(293, 82%, 35%)
CMYKcmyk(10%, 82.2%, 0%, 64.7%)
CIE-LABlab(19.47, 39.62, -28.89)
CIE-LCHlch(19.47, 49.04, 323.90°)
OKLaboklab(32.32% 0.1052 -0.0808)
OKLCHoklch(32.32% 0.133 322.5)
XYZxyz(5.4239, 2.8584, 9.9369)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51105A #195A10
analogous
#2C105A #51105A #5A103E
triadic
#51105A #5A5110 #105A51
tetradic
#51105A #5A2C10 #195A10 #103E5A
square
#51105A #5A2C10 #195A10 #103E5A
split-complementary
#51105A #3E5A10 #105A2C
monochromatic
#17051A #220726 #51105A #80198E #AF22C2

Accessibility & contrast

On white

13.36
#51105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#51105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51105A
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51105A#FFFFFF#000000##FFFFFF
##51105A1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51105a;
/* rgb */ color: rgb(81, 16, 90);
/* oklch */ color: oklch(32.3% 0.133 322.5);
Tailwind
colors: {
  custom: {
    50: '#855789',
    500: '#51105a',
    950: '#000000',
  },
}
SCSS
$custom: #51105a;
$custom-light: #855789;
$custom-dark: #000000;
JSON
{
  "hex": "#51105a",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 292.703,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32324,
    "c": 0.13265,
    "h": 322.5
  },
  "luminance": 0.02858
}

Semantic roles & 50–950 ramp

primary
#51105A
secondary
#3E9333
accent
#ED3B51
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #51105A

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

Preview Lab → · Contrast checker → · Palette generator →

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