#511068#511068

#511068 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.4% C 0.146 H 315.0°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#511068
RGBrgb(81, 16, 104)
HSLhsl(284, 73%, 24%)
HSVhsv(284, 85%, 41%)
CMYKcmyk(22.1%, 84.6%, 0%, 59.2%)
CIE-LABlab(20.52, 42.53, -36.46)
CIE-LCHlch(20.52, 56.02, 319.39°)
OKLaboklab(33.4% 0.103 -0.103)
OKLCHoklch(33.4% 0.146 315)
XYZxyz(6.0769, 3.1196, 13.3761)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511068 #276810
analogous
#251068 #511068 #681053
triadic
#511068 #685110 #106851
tetradic
#511068 #682510 #276810 #105368
square
#511068 #682510 #276810 #105368
split-complementary
#511068 #536810 #106825
monochromatic
#15041B #280833 #511068 #7A189D #A420D2

Accessibility & contrast

On white

12.93
#511068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#511068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511068
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511068#FFFFFF#000000##FFFFFF
##5110681.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#0A3366
Tritanopia (blue-blind)
#4F253D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511068;
/* rgb */ color: rgb(81, 16, 104);
/* oklch */ color: oklch(33.4% 0.146 315.0);
Tailwind
colors: {
  custom: {
    50: '#855894',
    500: '#511068',
    950: '#000000',
  },
}
SCSS
$custom: #511068;
$custom-light: #855894;
$custom-dark: #000000;
JSON
{
  "hex": "#511068",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 284.318,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33397,
    "c": 0.14566,
    "h": 315
  },
  "luminance": 0.03119
}

Semantic roles & 50–950 ramp

primary
#511068
secondary
#50A034
accent
#F03868
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #511068

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

Preview Lab → · Contrast checker → · Palette generator →

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