#50107F#50107F

#50107F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.167 H 304.5°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#50107F
RGBrgb(80, 16, 127)
HSLhsl(275, 78%, 28%)
HSVhsv(275, 87%, 50%)
CMYKcmyk(37%, 87.4%, 0%, 50.2%)
CIE-LABlab(22.33, 47.54, -48.32)
CIE-LCHlch(22.33, 67.79, 314.53°)
OKLaboklab(35.24% 0.0949 -0.1379)
OKLCHoklch(35.24% 0.167 304.5)
XYZxyz(7.3234, 3.6084, 20.3852)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50107F #3F7F10
analogous
#19107F #50107F #7F1076
triadic
#50107F #7F5010 #107F50
tetradic
#50107F #7F1910 #3F7F10 #10767F
square
#50107F #7F1910 #3F7F10 #10767F
split-complementary
#50107F #767F10 #107F19
monochromatic
#11031B #2E0949 #50107F #7217B5 #9326E4

Accessibility & contrast

On white

12.20
#50107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50107F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50107F#FFFFFF#000000##FFFFFF
##50107F1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#47304A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #50107f;
/* rgb */ color: rgb(80, 16, 127);
/* oklch */ color: oklch(35.2% 0.167 304.5);
Tailwind
colors: {
  custom: {
    50: '#8759a5',
    500: '#50107f',
    950: '#000000',
  },
}
SCSS
$custom: #50107f;
$custom-light: #8759a5;
$custom-dark: #000000;
JSON
{
  "hex": "#50107f",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 274.595,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35242,
    "c": 0.1674,
    "h": 304.5
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#50107F
secondary
#6CB536
accent
#F43485
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50107F

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

Preview Lab → · Contrast checker → · Palette generator →

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