#501C94#501C94

#501C94 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.178 H 296.3°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#501C94
RGBrgb(80, 28, 148)
HSLhsl(266, 68%, 35%)
HSVhsv(266, 81%, 58%)
CMYKcmyk(45.9%, 81.1%, 0%, 42%)
CIE-LABlab(25.78, 48.36, -55.80)
CIE-LCHlch(25.78, 73.84, 310.91°)
OKLaboklab(38.23% 0.0792 -0.1599)
OKLCHoklch(38.23% 0.178 296.3)
XYZxyz(9.0674, 4.6739, 28.4356)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C94 #60941C
analogous
#1C2494 #501C94 #8C1C94
triadic
#501C94 #94501C #1C9450
tetradic
#501C94 #941C24 #60941C #1C948C
square
#501C94 #941C24 #60941C #1C948C
split-complementary
#501C94 #948C1C #24941C
monochromatic
#18092D #341261 #501C94 #6C26C7 #8C4DDD

Accessibility & contrast

On white

10.85
#501C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#501C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C94
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C94#FFFFFF#000000##FFFFFF
##501C941.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#3D3E58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #501c94;
/* rgb */ color: rgb(80, 28, 148);
/* oklch */ color: oklch(38.2% 0.178 296.3);
Tailwind
colors: {
  custom: {
    50: '#885fb4',
    500: '#501c94',
    950: '#000000',
  },
}
SCSS
$custom: #501c94;
$custom-light: #885fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#501c94",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 266,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38234,
    "c": 0.17845,
    "h": 296.3
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#501C94
secondary
#8EC04C
accent
#EB3DA0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501C94

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

Preview Lab → · Contrast checker → · Palette generator →

#501C94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva