#511075#511075

#511075 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.158 H 309.1°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#511075
RGBrgb(81, 16, 117)
HSLhsl(279, 76%, 26%)
HSVhsv(279, 86%, 46%)
CMYKcmyk(30.8%, 86.3%, 0%, 54.1%)
CIE-LABlab(21.60, 45.40, -43.14)
CIE-LCHlch(21.60, 62.63, 316.47°)
OKLaboklab(34.49% 0.0997 -0.1226)
OKLCHoklch(34.49% 0.158 309.1)
XYZxyz(6.7889, 3.4044, 17.1257)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511075 #347510
analogous
#1E1075 #511075 #751066
triadic
#511075 #755110 #107551
tetradic
#511075 #751E10 #347510 #106675
square
#511075 #751E10 #347510 #106675
split-complementary
#511075 #667510 #10751E
monochromatic
#13041B #2C093F #511075 #7617AB #9B1FE0

Accessibility & contrast

On white

12.49
#511075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#511075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511075
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511075#FFFFFF#000000##FFFFFF
##5110751.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#4B2B44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #511075;
/* rgb */ color: rgb(81, 16, 117);
/* oklch */ color: oklch(34.5% 0.158 309.1);
Tailwind
colors: {
  custom: {
    50: '#86599e',
    500: '#511075',
    950: '#000000',
  },
}
SCSS
$custom: #511075;
$custom-light: #86599e;
$custom-dark: #000000;
JSON
{
  "hex": "#511075",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 278.614,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34488,
    "c": 0.15801,
    "h": 309.1
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#511075
secondary
#5FAC35
accent
#F33579
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #511075

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

Preview Lab → · Contrast checker → · Palette generator →

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