#511669#511669

#511669 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.140 H 313.9°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#511669
RGBrgb(81, 22, 105)
HSLhsl(283, 65%, 25%)
HSVhsv(283, 79%, 41%)
CMYKcmyk(22.9%, 79%, 0%, 58.8%)
CIE-LABlab(21.37, 40.52, -35.74)
CIE-LCHlch(21.37, 54.03, 318.59°)
OKLaboklab(34.02% 0.0972 -0.1009)
OKLCHoklch(34.02% 0.14 313.9)
XYZxyz(6.2296, 3.3433, 13.6790)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511669 #2E6916
analogous
#281669 #511669 #691657
triadic
#511669 #695116 #166951
tetradic
#511669 #692816 #2E6916 #165769
square
#511669 #692816 #2E6916 #165769
split-complementary
#511669 #576916 #166928
monochromatic
#140519 #2A0B36 #511669 #78219C #9F2BCE

Accessibility & contrast

On white

12.59
#511669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511669
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511669#FFFFFF#000000##FFFFFF
##5116691.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#0F3567
Tritanopia (blue-blind)
#4F293E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #511669;
/* rgb */ color: rgb(81, 22, 105);
/* oklch */ color: oklch(34.0% 0.140 313.9);
Tailwind
colors: {
  custom: {
    50: '#855a94',
    500: '#511669',
    950: '#000000',
  },
}
SCSS
$custom: #511669;
$custom-light: #855a94;
$custom-dark: #000000;
JSON
{
  "hex": "#511669",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 105
  },
  "hsl": {
    "h": 282.651,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34022,
    "c": 0.14013,
    "h": 313.9
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#511669
secondary
#589F3B
accent
#E83F70
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #511669

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

Preview Lab → · Contrast checker → · Palette generator →

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