#511055#511055

#511055 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.128 H 325.5°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#511055
RGBrgb(81, 16, 85)
HSLhsl(297, 68%, 20%)
HSVhsv(297, 81%, 33%)
CMYKcmyk(4.7%, 81.2%, 0%, 66.7%)
CIE-LABlab(19.12, 38.64, -26.09)
CIE-LCHlch(19.12, 46.62, 325.97°)
OKLaboklab(31.97% 0.1056 -0.0726)
OKLCHoklch(31.97% 0.128 325.5)
XYZxyz(5.2182, 2.7761, 8.8536)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511055 #145510
analogous
#2F1055 #511055 #551036
triadic
#511055 #555110 #105551
tetradic
#511055 #552F10 #145510 #103655
square
#511055 #552F10 #145510 #103655
split-complementary
#511055 #365510 #10552F
monochromatic
#19051A #200621 #511055 #821A89 #B323BC

Accessibility & contrast

On white

13.50
#511055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511055
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511055#FFFFFF#000000##FFFFFF
##5110551.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#1F3153
Tritanopia (blue-blind)
#531C32
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511055;
/* rgb */ color: rgb(81, 16, 85);
/* oklch */ color: oklch(32.0% 0.128 325.5);
Tailwind
colors: {
  custom: {
    50: '#855785',
    500: '#511055',
    950: '#000000',
  },
}
SCSS
$custom: #511055;
$custom-light: #855785;
$custom-dark: #000000;
JSON
{
  "hex": "#511055",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 296.522,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31969,
    "c": 0.12813,
    "h": 325.5
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#511055
secondary
#388F32
accent
#EB3D47
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #511055

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

Preview Lab → · Contrast checker → · Palette generator →

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