#511058#511058

#511058 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.131 H 323.6°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#511058
RGBrgb(81, 16, 88)
HSLhsl(294, 69%, 20%)
HSVhsv(294, 82%, 35%)
CMYKcmyk(8%, 81.8%, 0%, 65.5%)
CIE-LABlab(19.33, 39.22, -27.78)
CIE-LCHlch(19.33, 48.06, 324.69°)
OKLaboklab(32.18% 0.1054 -0.0775)
OKLCHoklch(32.18% 0.131 323.6)
XYZxyz(5.3399, 2.8248, 9.4946)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511058 #175810
analogous
#2D1058 #511058 #58103B
triadic
#511058 #585110 #105851
tetradic
#511058 #582D10 #175810 #103B58
square
#511058 #582D10 #175810 #103B58
split-complementary
#511058 #3B5810 #10582D
monochromatic
#18051A #210724 #511058 #81198C #B023C0

Accessibility & contrast

On white

13.42
#511058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511058
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511058#FFFFFF#000000##FFFFFF
##5110581.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5A
Deuteranopia (green-blind)
#1D3156
Tritanopia (blue-blind)
#531E33
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511058;
/* rgb */ color: rgb(81, 16, 88);
/* oklch */ color: oklch(32.2% 0.131 323.6);
Tailwind
colors: {
  custom: {
    50: '#855787',
    500: '#511058',
    950: '#000000',
  },
}
SCSS
$custom: #511058;
$custom-light: #855787;
$custom-dark: #000000;
JSON
{
  "hex": "#511058",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 294.167,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3218,
    "c": 0.13082,
    "h": 323.6
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#511058
secondary
#3C9132
accent
#EC3C4D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #511058

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

Preview Lab → · Contrast checker → · Palette generator →

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