#501F93#501F93

#501F93 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.174 H 296.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#501F93
RGBrgb(80, 31, 147)
HSLhsl(265, 65%, 35%)
HSVhsv(265, 79%, 58%)
CMYKcmyk(45.6%, 78.9%, 0%, 42.4%)
CIE-LABlab(26.13, 46.82, -54.61)
CIE-LCHlch(26.13, 71.93, 310.61°)
OKLaboklab(38.45% 0.0771 -0.1565)
OKLCHoklch(38.45% 0.174 296.2)
XYZxyz(9.0633, 4.7918, 28.0455)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F93 #62931F
analogous
#1F2893 #501F93 #8A1F93
triadic
#501F93 #93501F #1F9350
tetradic
#501F93 #931F28 #62931F #1F938A
square
#501F93 #931F28 #62931F #1F938A
split-complementary
#501F93 #938A1F #28931F
monochromatic
#190A2E #341460 #501F93 #6C2AC6 #8C52DA

Accessibility & contrast

On white

10.72
#501F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501F93
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F93#FFFFFF#000000##FFFFFF
##501F931.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#3E3F58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #501f93;
/* rgb */ color: rgb(80, 31, 147);
/* oklch */ color: oklch(38.4% 0.174 296.2);
Tailwind
colors: {
  custom: {
    50: '#8861b4',
    500: '#501f93',
    950: '#000000',
  },
}
SCSS
$custom: #501f93;
$custom-light: #8861b4;
$custom-dark: #000000;
JSON
{
  "hex": "#501f93",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 265.345,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38448,
    "c": 0.17443,
    "h": 296.2
  },
  "luminance": 0.04792
}

Semantic roles & 50–950 ramp

primary
#501F93
secondary
#8FBE50
accent
#E840A1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501F93

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

Preview Lab → · Contrast checker → · Palette generator →

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