#511549#511549

#511549 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.111 H 333.7°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#511549
RGBrgb(81, 21, 73)
HSLhsl(308, 59%, 20%)
HSVhsv(308, 74%, 32%)
CMYKcmyk(0%, 74.1%, 9.9%, 68.2%)
CIE-LABlab(19.09, 34.40, -17.99)
CIE-LCHlch(19.09, 38.82, 332.39°)
OKLaboklab(31.7% 0.0995 -0.0492)
OKLCHoklch(31.7% 0.111 333.7)
XYZxyz(4.8641, 2.7671, 6.5800)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511549 #15511D
analogous
#3B1551 #511549 #51152B
triadic
#511549 #495115 #154951
tetradic
#511549 #513B15 #15511D #152B51
square
#511549 #513B15 #15511D #152B51
split-complementary
#511549 #2B5115 #15513B
monochromatic
#180616 #20081D #511549 #822275 #B22EA1

Accessibility & contrast

On white

13.52
#511549 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511549 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511549
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511549#FFFFFF#000000##FFFFFF
##5115491.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14294A
Deuteranopia (green-blind)
#283147
Tritanopia (blue-blind)
#551A2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511549;
/* rgb */ color: rgb(81, 21, 73);
/* oklch */ color: oklch(31.7% 0.111 333.7);
Tailwind
colors: {
  custom: {
    50: '#84587c',
    500: '#511549',
    950: '#000000',
  },
}
SCSS
$custom: #511549;
$custom-light: #84587c;
$custom-dark: #000000;
JSON
{
  "hex": "#511549",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 73
  },
  "hsl": {
    "h": 308,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.31703,
    "c": 0.11102,
    "h": 333.7
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#511549
secondary
#398944
accent
#E25B46
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511549

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

Preview Lab → · Contrast checker → · Palette generator →

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