#511353#511353

#511353 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.123 H 326.6°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#511353
RGBrgb(81, 19, 83)
HSLhsl(298, 63%, 20%)
HSVhsv(298, 77%, 33%)
CMYKcmyk(2.4%, 77.1%, 0%, 67.5%)
CIE-LABlab(19.39, 37.11, -24.31)
CIE-LCHlch(19.39, 44.37, 326.77°)
OKLaboklab(32.12% 0.1024 -0.0675)
OKLCHoklch(32.12% 0.123 326.6)
XYZxyz(5.1875, 2.8400, 8.4569)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511353 #155313
analogous
#311353 #511353 #531335
triadic
#511353 #535113 #135351
tetradic
#511353 #533113 #155313 #133553
square
#511353 #533113 #155313 #133553
split-complementary
#511353 #355313 #135331
monochromatic
#180619 #200821 #511353 #821E85 #B22AB7

Accessibility & contrast

On white

13.39
#511353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511353
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511353#FFFFFF#000000##FFFFFF
##5113531.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052A55
Deuteranopia (green-blind)
#223251
Tritanopia (blue-blind)
#531D31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511353;
/* rgb */ color: rgb(81, 19, 83);
/* oklch */ color: oklch(32.1% 0.123 326.6);
Tailwind
colors: {
  custom: {
    50: '#845884',
    500: '#511353',
    950: '#000000',
  },
}
SCSS
$custom: #511353;
$custom-light: #845884;
$custom-dark: #000000;
JSON
{
  "hex": "#511353",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 298.125,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.32118,
    "c": 0.12266,
    "h": 326.6
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#511353
secondary
#398B36
accent
#E64247
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #511353

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

Preview Lab → · Contrast checker → · Palette generator →

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