#511149#511149

#511149 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.3% C 0.116 H 333.6°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#511149
RGBrgb(81, 17, 73)
HSLhsl(308, 65%, 19%)
HSVhsv(308, 79%, 32%)
CMYKcmyk(0%, 79%, 9.9%, 68.2%)
CIE-LABlab(18.50, 36.04, -18.91)
CIE-LCHlch(18.50, 40.70, 332.32°)
OKLaboklab(31.28% 0.1043 -0.0518)
OKLCHoklch(31.28% 0.116 333.6)
XYZxyz(4.7964, 2.6317, 6.5574)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511149 #115119
analogous
#391151 #511149 #511129
triadic
#511149 #495111 #114951
tetradic
#511149 #513911 #115119 #112951
square
#511149 #513911 #115119 #112951
split-complementary
#511149 #295111 #115139
monochromatic
#190517 #1E061B #511149 #841C77 #B626A4

Accessibility & contrast

On white

13.76
#511149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511149
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511149#FFFFFF#000000##FFFFFF
##5111491.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F274B
Deuteranopia (green-blind)
#273047
Tritanopia (blue-blind)
#55172B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511149;
/* rgb */ color: rgb(81, 17, 73);
/* oklch */ color: oklch(31.3% 0.116 333.6);
Tailwind
colors: {
  custom: {
    50: '#84577c',
    500: '#511149',
    950: '#000000',
  },
}
SCSS
$custom: #511149;
$custom-light: #84577c;
$custom-dark: #000000;
JSON
{
  "hex": "#511149",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 307.5,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31283,
    "c": 0.11649,
    "h": 333.6
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#511149
secondary
#348A3E
accent
#E85540
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #511149

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

Preview Lab → · Contrast checker → · Palette generator →

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