#511459#511459

#511459 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.127 H 322.8°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#511459
RGBrgb(81, 20, 89)
HSLhsl(293, 63%, 21%)
HSVhsv(293, 78%, 35%)
CMYKcmyk(9%, 77.5%, 0%, 65.1%)
CIE-LABlab(19.93, 37.90, -27.49)
CIE-LCHlch(19.93, 46.82, 324.05°)
OKLaboklab(32.63% 0.1012 -0.0767)
OKLCHoklch(32.63% 0.127 322.8)
XYZxyz(5.4465, 2.9712, 9.7359)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511459 #1C5914
analogous
#2F1459 #511459 #59143F
triadic
#511459 #595114 #145951
tetradic
#511459 #592F14 #1C5914 #143F59
square
#511459 #592F14 #1C5914 #143F59
split-complementary
#511459 #3F5914 #14592F
monochromatic
#170619 #240927 #511459 #7E1F8B #AC2ABD

Accessibility & contrast

On white

13.17
#511459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#511459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511459
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511459#FFFFFF#000000##FFFFFF
##5114591.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#1F3257
Tritanopia (blue-blind)
#522035
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511459;
/* rgb */ color: rgb(81, 20, 89);
/* oklch */ color: oklch(32.6% 0.127 322.8);
Tailwind
colors: {
  custom: {
    50: '#855988',
    500: '#511459',
    950: '#000000',
  },
}
SCSS
$custom: #511459;
$custom-light: #855988;
$custom-dark: #000000;
JSON
{
  "hex": "#511459",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 293.043,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32629,
    "c": 0.12697,
    "h": 322.8
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#511459
secondary
#429138
accent
#E64155
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #511459

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

Preview Lab → · Contrast checker → · Palette generator →

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