#511465#511465

#511465 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.139 H 316.1°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#511465
RGBrgb(81, 20, 101)
HSLhsl(285, 67%, 24%)
HSVhsv(285, 80%, 40%)
CMYKcmyk(19.8%, 80.2%, 0%, 60.4%)
CIE-LABlab(20.79, 40.43, -34.06)
CIE-LCHlch(20.79, 52.87, 319.89°)
OKLaboklab(33.51% 0.0999 -0.096)
OKLCHoklch(33.51% 0.139 316.1)
XYZxyz(5.9921, 3.1895, 12.6094)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511465 #286514
analogous
#281465 #511465 #651450
triadic
#511465 #655114 #146551
tetradic
#511465 #652814 #286514 #145065
square
#511465 #652814 #286514 #145065
split-complementary
#511465 #506514 #146528
monochromatic
#14051A #280A32 #511465 #7A1E98 #A328CB

Accessibility & contrast

On white

12.82
#511465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#511465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511465
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511465#FFFFFF#000000##FFFFFF
##5114651.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#133463
Tritanopia (blue-blind)
#50263C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #511465;
/* rgb */ color: rgb(81, 20, 101);
/* oklch */ color: oklch(33.5% 0.139 316.1);
Tailwind
colors: {
  custom: {
    50: '#855991',
    500: '#511465',
    950: '#000000',
  },
}
SCSS
$custom: #511465;
$custom-light: #855991;
$custom-dark: #000000;
JSON
{
  "hex": "#511465",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 285.185,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33514,
    "c": 0.13851,
    "h": 316.1
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#511465
secondary
#519C39
accent
#EA3E68
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #511465

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

Preview Lab → · Contrast checker → · Palette generator →

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