#50117C#50117C

#50117C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.164 H 305.6°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#50117C
RGBrgb(80, 17, 124)
HSLhsl(275, 76%, 28%)
HSVhsv(275, 86%, 49%)
CMYKcmyk(35.5%, 86.3%, 0%, 51.4%)
CIE-LABlab(22.17, 46.52, -46.69)
CIE-LCHlch(22.17, 65.91, 314.90°)
OKLaboklab(35.04% 0.0953 -0.1331)
OKLCHoklch(35.04% 0.164 305.6)
XYZxyz(7.1460, 3.5617, 19.3759)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50117C #3D7C11
analogous
#1A117C #50117C #7C1173
triadic
#50117C #7C5011 #117C50
tetradic
#50117C #7C1A11 #3D7C11 #11737C
square
#50117C #7C1A11 #3D7C11 #11737C
split-complementary
#50117C #737C11 #117C1A
monochromatic
#11041B #2D0A46 #50117C #7318B2 #9426E1

Accessibility & contrast

On white

12.26
#50117C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#50117C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50117C
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50117C#FFFFFF#000000##FFFFFF
##50117C1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#482F48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #50117c;
/* rgb */ color: rgb(80, 17, 124);
/* oklch */ color: oklch(35.0% 0.164 305.6);
Tailwind
colors: {
  custom: {
    50: '#8659a3',
    500: '#50117c',
    950: '#000000',
  },
}
SCSS
$custom: #50117c;
$custom-light: #8659a3;
$custom-dark: #000000;
JSON
{
  "hex": "#50117c",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 124
  },
  "hsl": {
    "h": 275.327,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35043,
    "c": 0.16367,
    "h": 305.6
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#50117C
secondary
#69B237
accent
#F23583
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50117C

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

Preview Lab → · Contrast checker → · Palette generator →

#50117C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva