#501175#501175

#501175 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.157 H 308.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#501175
RGBrgb(80, 17, 117)
HSLhsl(278, 75%, 26%)
HSVhsv(278, 85%, 46%)
CMYKcmyk(31.6%, 85.5%, 0%, 54.1%)
CIE-LABlab(21.55, 44.91, -43.23)
CIE-LCHlch(21.55, 62.33, 316.09°)
OKLaboklab(34.42% 0.0974 -0.1229)
OKLCHoklch(34.42% 0.157 308.4)
XYZxyz(6.7189, 3.3908, 17.1267)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501175 #367511
analogous
#1E1175 #501175 #751168
triadic
#501175 #755011 #117550
tetradic
#501175 #751E11 #367511 #116875
square
#501175 #751E11 #367511 #116875
split-complementary
#501175 #687511 #11751E
monochromatic
#12041B #2B0940 #501175 #7519AA #9922DF

Accessibility & contrast

On white

12.51
#501175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#501175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501175
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501175#FFFFFF#000000##FFFFFF
##5011751.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#4A2C44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501175;
/* rgb */ color: rgb(80, 17, 117);
/* oklch */ color: oklch(34.4% 0.157 308.4);
Tailwind
colors: {
  custom: {
    50: '#86599e',
    500: '#501175',
    950: '#000000',
  },
}
SCSS
$custom: #501175;
$custom-light: #86599e;
$custom-dark: #000000;
JSON
{
  "hex": "#501175",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 277.8,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3442,
    "c": 0.15685,
    "h": 308.4
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#501175
secondary
#62AC36
accent
#F1377C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501175

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

Preview Lab → · Contrast checker → · Palette generator →

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