#511450#511450

#511450 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 32.0% C 0.119 H 328.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#511450
RGBrgb(81, 20, 80)
HSLhsl(301, 60%, 20%)
HSVhsv(301, 75%, 32%)
CMYKcmyk(0%, 75.3%, 1.2%, 68.2%)
CIE-LABlab(19.35, 36.13, -22.35)
CIE-LCHlch(19.35, 42.48, 328.25°)
OKLaboklab(32.03% 0.1013 -0.0618)
OKLCHoklch(32.03% 0.119 328.6)
XYZxyz(5.0914, 2.8292, 7.8658)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511450 #145115
analogous
#341451 #511450 #511431
triadic
#511450 #505114 #145051
tetradic
#511450 #513414 #145115 #143151
square
#511450 #513414 #145115 #143151
split-complementary
#511450 #315114 #145134
monochromatic
#190618 #200820 #511450 #822080 #B32CB1

Accessibility & contrast

On white

13.41
#511450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511450
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511450#FFFFFF#000000##FFFFFF
##5114501.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2A52
Deuteranopia (green-blind)
#24324E
Tritanopia (blue-blind)
#541C30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511450;
/* rgb */ color: rgb(81, 20, 80);
/* oklch */ color: oklch(32.0% 0.119 328.6);
Tailwind
colors: {
  custom: {
    50: '#845881',
    500: '#511450',
    950: '#000000',
  },
}
SCSS
$custom: #511450;
$custom-light: #845881;
$custom-dark: #000000;
JSON
{
  "hex": "#511450",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 80
  },
  "hsl": {
    "h": 300.984,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.32025,
    "c": 0.11862,
    "h": 328.6
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#511450
secondary
#388939
accent
#E44744
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #511450

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

Preview Lab → · Contrast checker → · Palette generator →

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