#511C49#511C49

#511C49 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.6% C 0.100 H 333.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#511C49
RGBrgb(81, 28, 73)
HSLhsl(309, 49%, 21%)
HSVhsv(309, 65%, 32%)
CMYKcmyk(0%, 65.4%, 9.9%, 68.2%)
CIE-LABlab(20.29, 31.07, -16.11)
CIE-LCHlch(20.29, 35.00, 332.59°)
OKLaboklab(32.58% 0.0898 -0.0439)
OKLCHoklch(32.58% 0.1 333.9)
XYZxyz(5.0112, 3.0613, 6.6290)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C49 #1C5124
analogous
#3F1C51 #511C49 #511C2F
triadic
#511C49 #49511C #1C4951
tetradic
#511C49 #513F1C #1C5124 #1C2F51
square
#511C49 #513F1C #1C5124 #1C2F51
split-complementary
#511C49 #2F511C #1C513F
monochromatic
#170814 #240C20 #511C49 #7E2C72 #AC3B9B

Accessibility & contrast

On white

13.03
#511C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#511C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C49
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C49#FFFFFF#000000##FFFFFF
##511C491.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2C4A
Deuteranopia (green-blind)
#2C3448
Tritanopia (blue-blind)
#55202F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511c49;
/* rgb */ color: rgb(81, 28, 73);
/* oklch */ color: oklch(32.6% 0.100 333.9);
Tailwind
colors: {
  custom: {
    50: '#845c7c',
    500: '#511c49',
    950: '#000000',
  },
}
SCSS
$custom: #511c49;
$custom-light: #845c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#511c49",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 73
  },
  "hsl": {
    "h": 309.057,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32579,
    "c": 0.09995,
    "h": 333.9
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#511C49
secondary
#42874D
accent
#D86450
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511C49

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

Preview Lab → · Contrast checker → · Palette generator →

#511C49 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva