#511049#511049

#511049 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.118 H 333.6°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#511049
RGBrgb(81, 16, 73)
HSLhsl(307, 67%, 19%)
HSVhsv(307, 80%, 32%)
CMYKcmyk(0%, 80.2%, 9.9%, 68.2%)
CIE-LABlab(18.37, 36.42, -19.11)
CIE-LCHlch(18.37, 41.13, 332.31°)
OKLaboklab(31.19% 0.1054 -0.0524)
OKLCHoklch(31.19% 0.118 333.6)
XYZxyz(4.7813, 2.6014, 6.5523)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511049 #105118
analogous
#391051 #511049 #511029
triadic
#511049 #495110 #104951
tetradic
#511049 #513910 #105118 #102951
square
#511049 #513910 #105118 #102951
split-complementary
#511049 #295110 #105139
monochromatic
#1A0517 #1E061B #511049 #841A77 #B724A5

Accessibility & contrast

On white

13.81
#511049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511049
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511049#FFFFFF#000000##FFFFFF
##5110491.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E274B
Deuteranopia (green-blind)
#263047
Tritanopia (blue-blind)
#55162B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511049;
/* rgb */ color: rgb(81, 16, 73);
/* oklch */ color: oklch(31.2% 0.118 333.6);
Tailwind
colors: {
  custom: {
    50: '#84567c',
    500: '#511049',
    950: '#000000',
  },
}
SCSS
$custom: #511049;
$custom-light: #84567c;
$custom-dark: #000000;
JSON
{
  "hex": "#511049",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 307.385,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31187,
    "c": 0.11774,
    "h": 333.6
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#511049
secondary
#328B3D
accent
#EA533E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #511049

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

Preview Lab → · Contrast checker → · Palette generator →

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