#511447#511447

#511447 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.111 H 335.2°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#511447
RGBrgb(81, 20, 71)
HSLhsl(310, 60%, 20%)
HSVhsv(310, 75%, 32%)
CMYKcmyk(0%, 75.3%, 12.3%, 68.2%)
CIE-LABlab(18.82, 34.48, -17.03)
CIE-LCHlch(18.82, 38.45, 333.71°)
OKLaboklab(31.48% 0.1005 -0.0465)
OKLCHoklch(31.48% 0.111 335.2)
XYZxyz(4.7809, 2.7050, 6.2303)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511447 #14511E
analogous
#3D1451 #511447 #511429
triadic
#511447 #475114 #144751
tetradic
#511447 #513D14 #14511E #142951
square
#511447 #513D14 #14511E #142951
split-complementary
#511447 #295114 #14513D
monochromatic
#190616 #20081C #511447 #822072 #B32C9D

Accessibility & contrast

On white

13.63
#511447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511447
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511447#FFFFFF#000000##FFFFFF
##5114471.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142848
Deuteranopia (green-blind)
#293146
Tritanopia (blue-blind)
#55182B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511447;
/* rgb */ color: rgb(81, 20, 71);
/* oklch */ color: oklch(31.5% 0.111 335.2);
Tailwind
colors: {
  custom: {
    50: '#84587a',
    500: '#511447',
    950: '#000000',
  },
}
SCSS
$custom: #511447;
$custom-light: #84587a;
$custom-dark: #000000;
JSON
{
  "hex": "#511447",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 71
  },
  "hsl": {
    "h": 309.836,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31475,
    "c": 0.11076,
    "h": 335.2
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#511447
secondary
#388945
accent
#E45E44
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #511447

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

Preview Lab → · Contrast checker → · Palette generator →

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