#511E69#511E69

#511E69 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 34.9% C 0.130 H 312.9°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#511E69
RGBrgb(81, 30, 105)
HSLhsl(281, 56%, 26%)
HSVhsv(281, 71%, 41%)
CMYKcmyk(22.9%, 71.4%, 0%, 58.8%)
CIE-LABlab(22.65, 36.91, -33.68)
CIE-LCHlch(22.65, 49.97, 317.62°)
OKLaboklab(34.93% 0.0882 -0.0949)
OKLCHoklch(34.93% 0.13 312.9)
XYZxyz(6.4070, 3.6980, 13.7381)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E69 #36691E
analogous
#2C1E69 #511E69 #691E5C
triadic
#511E69 #69511E #1E6951
tetradic
#511E69 #692C1E #36691E #1E5C69
square
#511E69 #692C1E #36691E #1E5C69
split-complementary
#511E69 #5C691E #1E692C
monochromatic
#120718 #2C1039 #511E69 #762C99 #9A3BC7

Accessibility & contrast

On white

12.07
#511E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#511E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E69
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E69#FFFFFF#000000##FFFFFF
##511E691.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336B
Deuteranopia (green-blind)
#183767
Tritanopia (blue-blind)
#4E2D41
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #511e69;
/* rgb */ color: rgb(81, 30, 105);
/* oklch */ color: oklch(34.9% 0.130 312.9);
Tailwind
colors: {
  custom: {
    50: '#855e94',
    500: '#511e69',
    950: '#000000',
  },
}
SCSS
$custom: #511e69;
$custom-light: #855e94;
$custom-dark: #000000;
JSON
{
  "hex": "#511e69",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 105
  },
  "hsl": {
    "h": 280.8,
    "s": 55.556,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34932,
    "c": 0.12961,
    "h": 312.9
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#511E69
secondary
#629E45
accent
#DF4979
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #511E69

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

Preview Lab → · Contrast checker → · Palette generator →

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