#511359#511359

#511359 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.128 H 322.9°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#511359
RGBrgb(81, 19, 89)
HSLhsl(293, 65%, 21%)
HSVhsv(293, 79%, 35%)
CMYKcmyk(9%, 78.7%, 0%, 65.1%)
CIE-LABlab(19.79, 38.30, -27.71)
CIE-LCHlch(19.79, 47.27, 324.11°)
OKLaboklab(32.53% 0.1022 -0.0774)
OKLCHoklch(32.53% 0.128 322.9)
XYZxyz(5.4292, 2.9367, 9.7301)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511359 #1B5913
analogous
#2E1359 #511359 #59133E
triadic
#511359 #595113 #135951
tetradic
#511359 #592E13 #1B5913 #133E59
square
#511359 #592E13 #1B5913 #133E59
split-complementary
#511359 #3E5913 #13592E
monochromatic
#170519 #230827 #511359 #7F1E8B #AD29BE

Accessibility & contrast

On white

13.23
#511359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#511359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511359
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511359#FFFFFF#000000##FFFFFF
##5113591.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#1E3257
Tritanopia (blue-blind)
#522035
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511359;
/* rgb */ color: rgb(81, 19, 89);
/* oklch */ color: oklch(32.5% 0.128 322.9);
Tailwind
colors: {
  custom: {
    50: '#855888',
    500: '#511359',
    950: '#000000',
  },
}
SCSS
$custom: #511359;
$custom-light: #855888;
$custom-dark: #000000;
JSON
{
  "hex": "#511359",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 293.143,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3253,
    "c": 0.12821,
    "h": 322.9
  },
  "luminance": 0.02936
}

Semantic roles & 50–950 ramp

primary
#511359
secondary
#419137
accent
#E84053
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #511359

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

Preview Lab → · Contrast checker → · Palette generator →

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