#511365#511365

#511365 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.140 H 316.2°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#511365
RGBrgb(81, 19, 101)
HSLhsl(285, 68%, 24%)
HSVhsv(285, 81%, 40%)
CMYKcmyk(19.8%, 81.2%, 0%, 60.4%)
CIE-LABlab(20.65, 40.82, -34.27)
CIE-LCHlch(20.65, 53.30, 319.98°)
OKLaboklab(33.42% 0.1009 -0.0966)
OKLCHoklch(33.42% 0.14 316.2)
XYZxyz(5.9748, 3.1549, 12.6036)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511365 #276513
analogous
#281365 #511365 #651350
triadic
#511365 #655113 #136551
tetradic
#511365 #652813 #276513 #135065
square
#511365 #652813 #276513 #135065
split-complementary
#511365 #506513 #136528
monochromatic
#15051A #280931 #511365 #7A1D99 #A426CC

Accessibility & contrast

On white

12.88
#511365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#511365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511365
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511365#FFFFFF#000000##FFFFFF
##5113651.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#123363
Tritanopia (blue-blind)
#50253B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #511365;
/* rgb */ color: rgb(81, 19, 101);
/* oklch */ color: oklch(33.4% 0.140 316.2);
Tailwind
colors: {
  custom: {
    50: '#855991',
    500: '#511365',
    950: '#000000',
  },
}
SCSS
$custom: #511365;
$custom-light: #855991;
$custom-dark: #000000;
JSON
{
  "hex": "#511365",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 285.366,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3342,
    "c": 0.13965,
    "h": 316.2
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#511365
secondary
#509D37
accent
#EB3D67
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #511365

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

Preview Lab → · Contrast checker → · Palette generator →

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