#501975#501975

#501975 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.149 H 307.5°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#501975
RGBrgb(80, 25, 117)
HSLhsl(276, 65%, 28%)
HSVhsv(276, 79%, 46%)
CMYKcmyk(31.6%, 78.6%, 0%, 54.1%)
CIE-LABlab(22.60, 41.85, -41.51)
CIE-LCHlch(22.60, 58.94, 315.23°)
OKLaboklab(35.16% 0.0904 -0.1179)
OKLCHoklch(35.16% 0.149 307.5)
XYZxyz(6.8661, 3.6852, 17.1758)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501975 #3E7519
analogous
#221975 #501975 #75196C
triadic
#501975 #755019 #197550
tetradic
#501975 #752219 #3E7519 #196C75
square
#501975 #752219 #3E7519 #196C75
split-complementary
#501975 #6C7519 #197522
monochromatic
#110519 #2E0E43 #501975 #7224A7 #9435D4

Accessibility & contrast

On white

12.09
#501975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#501975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501975
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501975#FFFFFF#000000##FFFFFF
##5019751.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#4A3046
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501975;
/* rgb */ color: rgb(80, 25, 117);
/* oklch */ color: oklch(35.2% 0.149 307.5);
Tailwind
colors: {
  custom: {
    50: '#855c9d',
    500: '#501975',
    950: '#000000',
  },
}
SCSS
$custom: #501975;
$custom-light: #855c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#501975",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 275.87,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3516,
    "c": 0.14862,
    "h": 307.5
  },
  "luminance": 0.03685
}

Semantic roles & 50–950 ramp

primary
#501975
secondary
#6BAA40
accent
#E84083
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501975

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

Preview Lab → · Contrast checker → · Palette generator →

#501975 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva