#511050#511050

#511050 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.124 H 328.7°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#511050
RGBrgb(81, 16, 80)
HSLhsl(301, 67%, 19%)
HSVhsv(301, 80%, 32%)
CMYKcmyk(0%, 80.2%, 1.2%, 68.2%)
CIE-LABlab(18.80, 37.69, -23.22)
CIE-LCHlch(18.80, 44.27, 328.36°)
OKLaboklab(31.63% 0.1057 -0.0643)
OKLCHoklch(31.63% 0.124 328.7)
XYZxyz(5.0265, 2.6995, 7.8442)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511050 #105111
analogous
#321051 #511050 #511030
triadic
#511050 #505110 #105051
tetradic
#511050 #513210 #105111 #103051
square
#511050 #513210 #105111 #103051
split-complementary
#511050 #305110 #105132
monochromatic
#1A0519 #1E061E #511050 #841A82 #B724B5

Accessibility & contrast

On white

13.64
#511050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511050
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511050#FFFFFF#000000##FFFFFF
##5110501.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052852
Deuteranopia (green-blind)
#22314E
Tritanopia (blue-blind)
#541A2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511050;
/* rgb */ color: rgb(81, 16, 80);
/* oklch */ color: oklch(31.6% 0.124 328.7);
Tailwind
colors: {
  custom: {
    50: '#855681',
    500: '#511050',
    950: '#000000',
  },
}
SCSS
$custom: #511050;
$custom-light: #855681;
$custom-dark: #000000;
JSON
{
  "hex": "#511050",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 300.923,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31631,
    "c": 0.1237,
    "h": 328.7
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#511050
secondary
#328B33
accent
#EA413E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #511050

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

Preview Lab → · Contrast checker → · Palette generator →

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