#501B75#501B75

#501B75 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.146 H 307.2°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#501B75
RGBrgb(80, 27, 117)
HSLhsl(275, 63%, 28%)
HSVhsv(275, 77%, 46%)
CMYKcmyk(31.6%, 76.9%, 0%, 54.1%)
CIE-LABlab(22.91, 40.97, -41.01)
CIE-LCHlch(22.91, 57.97, 314.97°)
OKLaboklab(35.38% 0.0884 -0.1165)
OKLCHoklch(35.38% 0.146 307.2)
XYZxyz(6.9104, 3.7738, 17.1905)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B75 #40751B
analogous
#231B75 #501B75 #751B6D
triadic
#501B75 #75501B #1B7550
tetradic
#501B75 #75231B #40751B #1B6D75
square
#501B75 #75231B #40751B #1B6D75
split-complementary
#501B75 #6D751B #1B7523
monochromatic
#110619 #2E1043 #501B75 #7226A7 #9339D1

Accessibility & contrast

On white

11.97
#501B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#501B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B75
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B75#FFFFFF#000000##FFFFFF
##501B751.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#4A3146
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #501b75;
/* rgb */ color: rgb(80, 27, 117);
/* oklch */ color: oklch(35.4% 0.146 307.2);
Tailwind
colors: {
  custom: {
    50: '#855d9d',
    500: '#501b75',
    950: '#000000',
  },
}
SCSS
$custom: #501b75;
$custom-light: #855d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#501b75",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 117
  },
  "hsl": {
    "h": 275.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35376,
    "c": 0.14625,
    "h": 307.2
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#501B75
secondary
#6DA942
accent
#E64285
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501B75

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

Preview Lab → · Contrast checker → · Palette generator →

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