#50107E#50107E

#50107E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.166 H 304.9°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#50107E
RGBrgb(80, 16, 126)
HSLhsl(275, 77%, 28%)
HSVhsv(275, 87%, 49%)
CMYKcmyk(36.5%, 87.3%, 0%, 50.6%)
CIE-LABlab(22.24, 47.30, -47.84)
CIE-LCHlch(22.24, 67.28, 314.68°)
OKLaboklab(35.15% 0.0953 -0.1365)
OKLCHoklch(35.15% 0.166 304.9)
XYZxyz(7.2586, 3.5825, 20.0437)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50107E #3E7E10
analogous
#19107E #50107E #7E1075
triadic
#50107E #7E5010 #107E50
tetradic
#50107E #7E1910 #3E7E10 #10757E
square
#50107E #7E1910 #3E7E10 #10757E
split-complementary
#50107E #757E10 #107E19
monochromatic
#11031B #2E0948 #50107E #7217B4 #9425E3

Accessibility & contrast

On white

12.23
#50107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#50107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50107E
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50107E#FFFFFF#000000##FFFFFF
##50107E1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#473049
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #50107e;
/* rgb */ color: rgb(80, 16, 126);
/* oklch */ color: oklch(35.1% 0.166 304.9);
Tailwind
colors: {
  custom: {
    50: '#8759a4',
    500: '#50107e',
    950: '#000000',
  },
}
SCSS
$custom: #50107e;
$custom-light: #8759a4;
$custom-dark: #000000;
JSON
{
  "hex": "#50107e",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 274.909,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3515,
    "c": 0.16643,
    "h": 304.9
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

primary
#50107E
secondary
#6BB436
accent
#F43484
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50107E

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

Preview Lab → · Contrast checker → · Palette generator →

#50107E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva