#511350#511350

#511350 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.120 H 328.6°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#511350
RGBrgb(81, 19, 80)
HSLhsl(301, 62%, 20%)
HSVhsv(301, 77%, 32%)
CMYKcmyk(0%, 76.5%, 1.2%, 68.2%)
CIE-LABlab(19.20, 36.54, -22.58)
CIE-LCHlch(19.20, 42.95, 328.28°)
OKLaboklab(31.92% 0.1024 -0.0624)
OKLCHoklch(31.92% 0.12 328.6)
XYZxyz(5.0741, 2.7946, 7.8600)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511350 #135114
analogous
#331351 #511350 #511331
triadic
#511350 #505113 #135051
tetradic
#511350 #513313 #135114 #133151
square
#511350 #513313 #135114 #133151
split-complementary
#511350 #315113 #135133
monochromatic
#190618 #1F071F #511350 #831F81 #B42AB2

Accessibility & contrast

On white

13.47
#511350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511350
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511350#FFFFFF#000000##FFFFFF
##5113501.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2952
Deuteranopia (green-blind)
#24314E
Tritanopia (blue-blind)
#541C30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511350;
/* rgb */ color: rgb(81, 19, 80);
/* oklch */ color: oklch(31.9% 0.120 328.6);
Tailwind
colors: {
  custom: {
    50: '#845881',
    500: '#511350',
    950: '#000000',
  },
}
SCSS
$custom: #511350;
$custom-light: #845881;
$custom-dark: #000000;
JSON
{
  "hex": "#511350",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 300.968,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31921,
    "c": 0.11996,
    "h": 328.6
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#511350
secondary
#368A38
accent
#E54543
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #511350

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

Preview Lab → · Contrast checker → · Palette generator →

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