#511059#511059

#511059 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.3% C 0.132 H 323.1°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#511059
RGBrgb(81, 16, 89)
HSLhsl(293, 70%, 21%)
HSVhsv(293, 82%, 35%)
CMYKcmyk(9%, 82%, 0%, 65.1%)
CIE-LABlab(19.40, 39.42, -28.34)
CIE-LCHlch(19.40, 48.55, 324.29°)
OKLaboklab(32.25% 0.1053 -0.0792)
OKLCHoklch(32.25% 0.132 323.1)
XYZxyz(5.3816, 2.8415, 9.7143)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511059 #185910
analogous
#2C1059 #511059 #59103C
triadic
#511059 #595110 #105951
tetradic
#511059 #592C10 #185910 #103C59
square
#511059 #592C10 #185910 #103C59
split-complementary
#511059 #3C5910 #10592C
monochromatic
#18051A #220725 #511059 #80198D #AF23C1

Accessibility & contrast

On white

13.39
#511059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511059
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511059#FFFFFF#000000##FFFFFF
##5110591.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#1C3157
Tritanopia (blue-blind)
#521E34
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511059;
/* rgb */ color: rgb(81, 16, 89);
/* oklch */ color: oklch(32.3% 0.132 323.1);
Tailwind
colors: {
  custom: {
    50: '#855788',
    500: '#511059',
    950: '#000000',
  },
}
SCSS
$custom: #511059;
$custom-light: #855788;
$custom-dark: #000000;
JSON
{
  "hex": "#511059",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 293.425,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32252,
    "c": 0.13173,
    "h": 323.1
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#511059
secondary
#3D9233
accent
#EC3B4F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #511059

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

Preview Lab → · Contrast checker → · Palette generator →

#511059 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva