#511069#511069

#511069 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.5% C 0.147 H 314.5°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#511069
RGBrgb(81, 16, 105)
HSLhsl(284, 74%, 24%)
HSVhsv(284, 85%, 41%)
CMYKcmyk(22.9%, 84.8%, 0%, 58.8%)
CIE-LABlab(20.60, 42.75, -36.99)
CIE-LCHlch(20.60, 56.53, 319.13°)
OKLaboklab(33.48% 0.1028 -0.1045)
OKLCHoklch(33.48% 0.147 314.5)
XYZxyz(6.1280, 3.1401, 13.6452)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511069 #286910
analogous
#241069 #511069 #691054
triadic
#511069 #695110 #106951
tetradic
#511069 #692410 #286910 #105469
square
#511069 #692410 #286910 #105469
split-complementary
#511069 #546910 #106924
monochromatic
#14041B #280834 #511069 #7A189E #A320D3

Accessibility & contrast

On white

12.90
#511069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#511069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511069
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511069#FFFFFF#000000##FFFFFF
##5110691.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#083367
Tritanopia (blue-blind)
#4F263D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #511069;
/* rgb */ color: rgb(81, 16, 105);
/* oklch */ color: oklch(33.5% 0.147 314.5);
Tailwind
colors: {
  custom: {
    50: '#865894',
    500: '#511069',
    950: '#000000',
  },
}
SCSS
$custom: #511069;
$custom-light: #865894;
$custom-dark: #000000;
JSON
{
  "hex": "#511069",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 283.82,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33477,
    "c": 0.1466,
    "h": 314.5
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#511069
secondary
#51A134
accent
#F03869
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #511069

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

Preview Lab → · Contrast checker → · Palette generator →

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