#511073#511073

#511073 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.156 H 310.0°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#511073
RGBrgb(81, 16, 115)
HSLhsl(279, 76%, 26%)
HSVhsv(279, 86%, 45%)
CMYKcmyk(29.6%, 86.1%, 0%, 54.9%)
CIE-LABlab(21.42, 44.95, -42.13)
CIE-LCHlch(21.42, 61.61, 316.86°)
OKLaboklab(34.32% 0.1002 -0.1197)
OKLCHoklch(34.32% 0.156 310)
XYZxyz(6.6725, 3.3579, 16.5130)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511073 #327310
analogous
#1F1073 #511073 #731063
triadic
#511073 #735110 #107351
tetradic
#511073 #731F10 #327310 #106373
square
#511073 #731F10 #327310 #106373
split-complementary
#511073 #637310 #10731F
monochromatic
#13041B #2B093D #511073 #7717A9 #9D1FDE

Accessibility & contrast

On white

12.56
#511073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#511073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511073
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511073#FFFFFF#000000##FFFFFF
##5110731.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#4C2B43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #511073;
/* rgb */ color: rgb(81, 16, 115);
/* oklch */ color: oklch(34.3% 0.156 310.0);
Tailwind
colors: {
  custom: {
    50: '#86589c',
    500: '#511073',
    950: '#000000',
  },
}
SCSS
$custom: #511073;
$custom-light: #86589c;
$custom-dark: #000000;
JSON
{
  "hex": "#511073",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 279.394,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34315,
    "c": 0.15609,
    "h": 310
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#511073
secondary
#5DAA34
accent
#F23676
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #511073

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

Preview Lab → · Contrast checker → · Palette generator →

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