#501FBC#501FBC

#501FBC is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.5% C 0.219 H 286.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#501FBC
RGBrgb(80, 31, 188)
HSLhsl(259, 72%, 43%)
HSVhsv(259, 84%, 74%)
CMYKcmyk(57.4%, 83.5%, 0%, 26.3%)
CIE-LABlab(30.19, 57.66, -72.68)
CIE-LCHlch(30.19, 92.77, 308.42°)
OKLaboklab(42.48% 0.0633 -0.2093)
OKLCHoklch(42.48% 0.219 286.8)
XYZxyz(12.8726, 6.3155, 48.1079)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501FBC #8BBC1F
analogous
#1F3DBC #501FBC #9E1FBC
triadic
#501FBC #BC501F #1FBC50
tetradic
#501FBC #BC1F3D #8BBC1F #1FBC9E
square
#501FBC #BC1F3D #8BBC1F #1FBC9E
split-complementary
#501FBC #BC9E1F #3DBC1F
monochromatic
#230E53 #3A1687 #501FBC #6D3ADE #946EE7

Accessibility & contrast

On white

9.28
#501FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#501FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501FBC
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501FBC#FFFFFF#000000##FFFFFF
##501FBC1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC0
Deuteranopia (green-blind)
#0043B9
Tritanopia (blue-blind)
#195070
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #501fbc;
/* rgb */ color: rgb(80, 31, 188);
/* oklch */ color: oklch(42.5% 0.219 286.8);
Tailwind
colors: {
  custom: {
    50: '#8e63d2',
    500: '#501fbc',
    950: '#000000',
  },
}
SCSS
$custom: #501fbc;
$custom-light: #8e63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#501fbc",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 188
  },
  "hsl": {
    "h": 258.726,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4248,
    "c": 0.21868,
    "h": 286.8
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#501FBC
secondary
#AECD69
accent
#EE39B6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #501FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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