#50146F#50146F

#50146F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.148 H 310.7°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#50146F
RGBrgb(80, 20, 111)
HSLhsl(280, 69%, 26%)
HSVhsv(280, 82%, 44%)
CMYKcmyk(27.9%, 82%, 0%, 56.5%)
CIE-LABlab(21.41, 42.46, -39.58)
CIE-LCHlch(21.41, 58.05, 317.01°)
OKLaboklab(34.17% 0.0965 -0.1122)
OKLCHoklch(34.17% 0.148 310.7)
XYZxyz(6.4271, 3.3536, 15.3446)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50146F #336F14
analogous
#22146F #50146F #6F1460
triadic
#50146F #6F5014 #146F50
tetradic
#50146F #6F2214 #336F14 #14606F
square
#50146F #6F2214 #336F14 #14606F
split-complementary
#50146F #606F14 #146F22
monochromatic
#13051A #2B0B3B #50146F #751DA3 #9B27D7

Accessibility & contrast

On white

12.57
#50146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#50146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50146F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50146F#FFFFFF#000000##FFFFFF
##50146F1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#4C2B41
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #50146f;
/* rgb */ color: rgb(80, 20, 111);
/* oklch */ color: oklch(34.2% 0.148 310.7);
Tailwind
colors: {
  custom: {
    50: '#855a99',
    500: '#50146f',
    950: '#000000',
  },
}
SCSS
$custom: #50146f;
$custom-light: #855a99;
$custom-dark: #000000;
JSON
{
  "hex": "#50146f",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 279.56,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34166,
    "c": 0.14803,
    "h": 310.7
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#50146F
secondary
#5EA639
accent
#EC3C78
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #50146F

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

Preview Lab → · Contrast checker → · Palette generator →

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