#501B6F#501B6F

#501B6F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.140 H 309.8°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#501B6F
RGBrgb(80, 27, 111)
HSLhsl(278, 61%, 27%)
HSVhsv(278, 76%, 44%)
CMYKcmyk(27.9%, 75.7%, 0%, 56.5%)
CIE-LABlab(22.43, 39.53, -37.92)
CIE-LCHlch(22.43, 54.77, 316.19°)
OKLaboklab(34.89% 0.0895 -0.1074)
OKLCHoklch(34.89% 0.14 309.8)
XYZxyz(6.5689, 3.6372, 15.3918)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B6F #3A6F1B
analogous
#261B6F #501B6F #6F1B64
triadic
#501B6F #6F501B #1B6F50
tetradic
#501B6F #6F261B #3A6F1B #1B646F
square
#501B6F #6F261B #3A6F1B #1B646F
split-complementary
#501B6F #646F1B #1B6F26
monochromatic
#120619 #2D0F3E #501B6F #7327A0 #9636CE

Accessibility & contrast

On white

12.16
#501B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#501B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B6F
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B6F#FFFFFF#000000##FFFFFF
##501B6F1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#09366D
Tritanopia (blue-blind)
#4C2E43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501b6f;
/* rgb */ color: rgb(80, 27, 111);
/* oklch */ color: oklch(34.9% 0.140 309.8);
Tailwind
colors: {
  custom: {
    50: '#855d99',
    500: '#501b6f',
    950: '#000000',
  },
}
SCSS
$custom: #501b6f;
$custom-light: #855d99;
$custom-dark: #000000;
JSON
{
  "hex": "#501b6f",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 277.857,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3489,
    "c": 0.13982,
    "h": 309.8
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#501B6F
secondary
#66A442
accent
#E4447F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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