#501068#501068

#501068 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.145 H 314.4°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#501068
RGBrgb(80, 16, 104)
HSLhsl(284, 73%, 24%)
HSVhsv(284, 85%, 41%)
CMYKcmyk(23.1%, 84.6%, 0%, 59.2%)
CIE-LABlab(20.34, 42.34, -36.75)
CIE-LCHlch(20.34, 56.06, 319.04°)
OKLaboklab(33.24% 0.1016 -0.1039)
OKLCHoklch(33.24% 0.145 314.4)
XYZxyz(5.9918, 3.0757, 13.3721)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501068 #286810
analogous
#241068 #501068 #681054
triadic
#501068 #685010 #106850
tetradic
#501068 #682410 #286810 #105468
square
#501068 #682410 #286810 #105468
split-complementary
#501068 #546810 #106824
monochromatic
#14041B #270833 #501068 #79189D #A220D2

Accessibility & contrast

On white

13.00
#501068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501068
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501068#FFFFFF#000000##FFFFFF
##5010681.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#083366
Tritanopia (blue-blind)
#4E263D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501068;
/* rgb */ color: rgb(80, 16, 104);
/* oklch */ color: oklch(33.2% 0.145 314.4);
Tailwind
colors: {
  custom: {
    50: '#855894',
    500: '#501068',
    950: '#000000',
  },
}
SCSS
$custom: #501068;
$custom-light: #855894;
$custom-dark: #000000;
JSON
{
  "hex": "#501068",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 283.636,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33242,
    "c": 0.14529,
    "h": 314.4
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#501068
secondary
#51A034
accent
#F0386A
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501068

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

Preview Lab → · Contrast checker → · Palette generator →

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