#511649#511649

#511649 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.110 H 333.7°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#511649
RGBrgb(81, 22, 73)
HSLhsl(308, 57%, 20%)
HSVhsv(308, 73%, 32%)
CMYKcmyk(0%, 72.8%, 9.9%, 68.2%)
CIE-LABlab(19.24, 33.96, -17.74)
CIE-LCHlch(19.24, 38.32, 332.41°)
OKLaboklab(31.82% 0.0982 -0.0485)
OKLCHoklch(31.82% 0.11 333.7)
XYZxyz(4.8829, 2.8046, 6.5862)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511649 #16511E
analogous
#3C1651 #511649 #51162B
triadic
#511649 #495116 #164951
tetradic
#511649 #513C16 #16511E #162B51
square
#511649 #513C16 #16511E #162B51
split-complementary
#511649 #2B5116 #16513C
monochromatic
#180716 #21091E #511649 #812374 #B130A0

Accessibility & contrast

On white

13.45
#511649 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511649 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511649
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511649#FFFFFF#000000##FFFFFF
##5116491.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15294A
Deuteranopia (green-blind)
#293248
Tritanopia (blue-blind)
#551B2D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511649;
/* rgb */ color: rgb(81, 22, 73);
/* oklch */ color: oklch(31.8% 0.110 333.7);
Tailwind
colors: {
  custom: {
    50: '#84597c',
    500: '#511649',
    950: '#000000',
  },
}
SCSS
$custom: #511649;
$custom-light: #84597c;
$custom-dark: #000000;
JSON
{
  "hex": "#511649",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 73
  },
  "hsl": {
    "h": 308.136,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31818,
    "c": 0.10955,
    "h": 333.7
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#511649
secondary
#3A8845
accent
#E15C47
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511649

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

Preview Lab → · Contrast checker → · Palette generator →

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