#501F90#501F90

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

Color values

HEX#501F90
RGBrgb(80, 31, 144)
HSLhsl(266, 65%, 34%)
HSVhsv(266, 78%, 56%)
CMYKcmyk(44.4%, 78.5%, 0%, 43.5%)
CIE-LABlab(25.86, 46.03, -53.20)
CIE-LCHlch(25.86, 70.35, 310.87°)
OKLaboklab(38.17% 0.078 -0.1523)
OKLCHoklch(38.17% 0.171 297.1)
XYZxyz(8.8310, 4.6989, 26.8219)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F90 #5F901F
analogous
#1F2790 #501F90 #891F90
triadic
#501F90 #90501F #1F9050
tetradic
#501F90 #901F27 #5F901F #1F9089
square
#501F90 #901F27 #5F901F #1F9089
split-complementary
#501F90 #90891F #27901F
monochromatic
#18092B #34145E #501F90 #6C2AC2 #8C50D9

Accessibility & contrast

On white

10.83
#501F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#501F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F90
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F90#FFFFFF#000000##FFFFFF
##501F901.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#3F3E57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #501f90;
/* rgb */ color: rgb(80, 31, 144);
/* oklch */ color: oklch(38.2% 0.171 297.1);
Tailwind
colors: {
  custom: {
    50: '#8861b1',
    500: '#501f90',
    950: '#000000',
  },
}
SCSS
$custom: #501f90;
$custom-light: #8861b1;
$custom-dark: #000000;
JSON
{
  "hex": "#501f90",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 266.018,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38172,
    "c": 0.17113,
    "h": 297.1
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#501F90
secondary
#8DBC4E
accent
#E8409F
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501F90

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

Preview Lab → · Contrast checker → · Palette generator →

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