#511553#511553

#511553 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.120 H 326.5°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#511553
RGBrgb(81, 21, 83)
HSLhsl(298, 60%, 20%)
HSVhsv(298, 75%, 33%)
CMYKcmyk(2.4%, 74.7%, 0%, 67.5%)
CIE-LABlab(19.68, 36.29, -23.85)
CIE-LCHlch(19.68, 43.42, 326.68°)
OKLaboklab(32.33% 0.1001 -0.0661)
OKLCHoklch(32.33% 0.12 326.5)
XYZxyz(5.2227, 2.9105, 8.4686)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511553 #175315
analogous
#321553 #511553 #531536
triadic
#511553 #535115 #155351
tetradic
#511553 #533215 #175315 #153653
square
#511553 #533215 #175315 #153653
split-complementary
#511553 #365315 #155332
monochromatic
#180618 #210922 #511553 #812184 #B02EB5

Accessibility & contrast

On white

13.27
#511553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#511553 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511553
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511553#FFFFFF#000000##FFFFFF
##5115531.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092B55
Deuteranopia (green-blind)
#233251
Tritanopia (blue-blind)
#531E32
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511553;
/* rgb */ color: rgb(81, 21, 83);
/* oklch */ color: oklch(32.3% 0.120 326.5);
Tailwind
colors: {
  custom: {
    50: '#845983',
    500: '#511553',
    950: '#000000',
  },
}
SCSS
$custom: #511553;
$custom-light: #845983;
$custom-dark: #000000;
JSON
{
  "hex": "#511553",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 298.065,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32327,
    "c": 0.12001,
    "h": 326.5
  },
  "luminance": 0.0291
}

Semantic roles & 50–950 ramp

primary
#511553
secondary
#3C8B39
accent
#E3454A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #511553

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

Preview Lab → · Contrast checker → · Palette generator →

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