#511076#511076

#511076 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.159 H 308.7°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#511076
RGBrgb(81, 16, 118)
HSLhsl(278, 76%, 26%)
HSVhsv(278, 86%, 46%)
CMYKcmyk(31.4%, 86.4%, 0%, 53.7%)
CIE-LABlab(21.68, 45.63, -43.64)
CIE-LCHlch(21.68, 63.14, 316.28°)
OKLaboklab(34.58% 0.0994 -0.1241)
OKLCHoklch(34.58% 0.159 308.7)
XYZxyz(6.8480, 3.4280, 17.4370)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511076 #357610
analogous
#1E1076 #511076 #761068
triadic
#511076 #765110 #107651
tetradic
#511076 #761E10 #357610 #106876
square
#511076 #761E10 #357610 #106876
split-complementary
#511076 #687610 #10761E
monochromatic
#12041B #2C0940 #511076 #7617AC #9B20E1

Accessibility & contrast

On white

12.46
#511076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#511076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511076
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511076#FFFFFF#000000##FFFFFF
##5110761.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#4B2C45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #511076;
/* rgb */ color: rgb(81, 16, 118);
/* oklch */ color: oklch(34.6% 0.159 308.7);
Tailwind
colors: {
  custom: {
    50: '#87599e',
    500: '#511076',
    950: '#000000',
  },
}
SCSS
$custom: #511076;
$custom-light: #87599e;
$custom-dark: #000000;
JSON
{
  "hex": "#511076",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 278.235,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34575,
    "c": 0.15897,
    "h": 308.7
  },
  "luminance": 0.03428
}

Semantic roles & 50–950 ramp

primary
#511076
secondary
#60AD35
accent
#F3357A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #511076

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

Preview Lab → · Contrast checker → · Palette generator →

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