#501F94#501F94

#501F94 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.176 H 296.0°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#501F94
RGBrgb(80, 31, 148)
HSLhsl(265, 65%, 35%)
HSVhsv(265, 79%, 58%)
CMYKcmyk(45.9%, 79.1%, 0%, 42%)
CIE-LABlab(26.23, 47.08, -55.07)
CIE-LCHlch(26.23, 72.46, 310.53°)
OKLaboklab(38.54% 0.0768 -0.1578)
OKLCHoklch(38.54% 0.176 296)
XYZxyz(9.1421, 4.8233, 28.4606)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F94 #63941F
analogous
#1F2994 #501F94 #8A1F94
triadic
#501F94 #94501F #1F9450
tetradic
#501F94 #941F29 #63941F #1F948A
square
#501F94 #941F29 #63941F #1F948A
split-complementary
#501F94 #948A1F #29941F
monochromatic
#190A2F #351461 #501F94 #6B2AC7 #8C53DB

Accessibility & contrast

On white

10.69
#501F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#501F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F94
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F94#FFFFFF#000000##FFFFFF
##501F941.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#3D3F59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #501f94;
/* rgb */ color: rgb(80, 31, 148);
/* oklch */ color: oklch(38.5% 0.176 296.0);
Tailwind
colors: {
  custom: {
    50: '#8861b4',
    500: '#501f94',
    950: '#000000',
  },
}
SCSS
$custom: #501f94;
$custom-light: #8861b4;
$custom-dark: #000000;
JSON
{
  "hex": "#501f94",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 265.128,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38541,
    "c": 0.17552,
    "h": 296
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#501F94
secondary
#90BE51
accent
#E83FA2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501F94

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

Preview Lab → · Contrast checker → · Palette generator →

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