#501F95#501F95

#501F95 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.177 H 295.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#501F95
RGBrgb(80, 31, 149)
HSLhsl(265, 66%, 35%)
HSVhsv(265, 79%, 58%)
CMYKcmyk(46.3%, 79.2%, 0%, 41.6%)
CIE-LABlab(26.32, 47.35, -55.54)
CIE-LCHlch(26.32, 72.98, 310.45°)
OKLaboklab(38.63% 0.0765 -0.1592)
OKLCHoklch(38.63% 0.177 295.7)
XYZxyz(9.2216, 4.8551, 28.8792)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F95 #64951F
analogous
#1F2995 #501F95 #8B1F95
triadic
#501F95 #95501F #1F9550
tetradic
#501F95 #951F29 #64951F #1F958B
square
#501F95 #951F29 #64951F #1F958B
split-complementary
#501F95 #958B1F #29951F
monochromatic
#1A0A30 #351462 #501F95 #6B2AC8 #8C53DB

Accessibility & contrast

On white

10.65
#501F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#501F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F95
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F95#FFFFFF#000000##FFFFFF
##501F951.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#3D405A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #501f95;
/* rgb */ color: rgb(80, 31, 149);
/* oklch */ color: oklch(38.6% 0.177 295.7);
Tailwind
colors: {
  custom: {
    50: '#8861b5',
    500: '#501f95',
    950: '#000000',
  },
}
SCSS
$custom: #501f95;
$custom-light: #8861b5;
$custom-dark: #000000;
JSON
{
  "hex": "#501f95",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 264.915,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38634,
    "c": 0.17662,
    "h": 295.7
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#501F95
secondary
#91BF51
accent
#E93FA2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501F95

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

Preview Lab → · Contrast checker → · Palette generator →

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