#511869#511869

#511869 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.138 H 313.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#511869
RGBrgb(81, 24, 105)
HSLhsl(282, 63%, 25%)
HSVhsv(282, 77%, 41%)
CMYKcmyk(22.9%, 77.1%, 0%, 58.8%)
CIE-LABlab(21.66, 39.68, -35.26)
CIE-LCHlch(21.66, 53.09, 318.37°)
OKLaboklab(34.23% 0.0951 -0.0995)
OKLCHoklch(34.23% 0.138 313.7)
XYZxyz(6.2693, 3.4227, 13.6923)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511869 #306918
analogous
#281869 #511869 #691859
triadic
#511869 #695118 #186951
tetradic
#511869 #692818 #306918 #185969
square
#511869 #692818 #306918 #185969
split-complementary
#511869 #596918 #186928
monochromatic
#130619 #2B0D37 #511869 #77239B #9E2FCD

Accessibility & contrast

On white

12.47
#511869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#511869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511869
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511869#FFFFFF#000000##FFFFFF
##5118691.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316B
Deuteranopia (green-blind)
#123567
Tritanopia (blue-blind)
#4F2A3F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #511869;
/* rgb */ color: rgb(81, 24, 105);
/* oklch */ color: oklch(34.2% 0.138 313.7);
Tailwind
colors: {
  custom: {
    50: '#855b94',
    500: '#511869',
    950: '#000000',
  },
}
SCSS
$custom: #511869;
$custom-light: #855b94;
$custom-dark: #000000;
JSON
{
  "hex": "#511869",
  "rgb": {
    "r": 81,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 282.222,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3423,
    "c": 0.13769,
    "h": 313.7
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#511869
secondary
#5B9F3E
accent
#E64273
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #511869

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

Preview Lab → · Contrast checker → · Palette generator →

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