#511963#511963

#511963 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.130 H 316.7°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#511963
RGBrgb(81, 25, 99)
HSLhsl(285, 60%, 24%)
HSVhsv(285, 75%, 39%)
CMYKcmyk(18.2%, 74.7%, 0%, 61.2%)
CIE-LABlab(21.38, 37.89, -31.79)
CIE-LCHlch(21.38, 49.46, 320.00°)
OKLaboklab(33.89% 0.0948 -0.0894)
OKLCHoklch(33.89% 0.13 316.7)
XYZxyz(5.9928, 3.3457, 12.1321)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511963 #2B6319
analogous
#2C1963 #511963 #631950
triadic
#511963 #635119 #196351
tetradic
#511963 #632C19 #2B6319 #195063
square
#511963 #632C19 #2B6319 #195063
split-complementary
#511963 #506319 #19632C
monochromatic
#140618 #290D32 #511963 #792594 #A132C5

Accessibility & contrast

On white

12.58
#511963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#511963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511963
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511963#FFFFFF#000000##FFFFFF
##5119631.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#1A3561
Tritanopia (blue-blind)
#50283C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #511963;
/* rgb */ color: rgb(81, 25, 99);
/* oklch */ color: oklch(33.9% 0.130 316.7);
Tailwind
colors: {
  custom: {
    50: '#855b90',
    500: '#511963',
    950: '#000000',
  },
}
SCSS
$custom: #511963;
$custom-light: #855b90;
$custom-dark: #000000;
JSON
{
  "hex": "#511963",
  "rgb": {
    "r": 81,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 285.405,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33887,
    "c": 0.13025,
    "h": 316.7
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#511963
secondary
#55993F
accent
#E3456B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #511963

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

Preview Lab → · Contrast checker → · Palette generator →

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