#50187C#50187C

#50187C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.157 H 304.8°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#50187C
RGBrgb(80, 24, 124)
HSLhsl(274, 68%, 29%)
HSVhsv(274, 81%, 49%)
CMYKcmyk(35.5%, 80.6%, 0%, 51.4%)
CIE-LABlab(23.05, 43.96, -45.25)
CIE-LCHlch(23.05, 63.09, 314.17°)
OKLaboklab(35.66% 0.0897 -0.1289)
OKLCHoklch(35.66% 0.157 304.8)
XYZxyz(7.2722, 3.8140, 19.4179)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50187C #447C18
analogous
#1E187C #50187C #7C1876
triadic
#50187C #7C5018 #187C50
tetradic
#50187C #7C1E18 #447C18 #18767C
square
#50187C #7C1E18 #447C18 #18767C
split-complementary
#50187C #767C18 #187C1E
monochromatic
#11051A #2F0E49 #50187C #7122AF #9136D8

Accessibility & contrast

On white

11.91
#50187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#50187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50187C
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50187C#FFFFFF#000000##FFFFFF
##50187C1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#48324A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #50187c;
/* rgb */ color: rgb(80, 24, 124);
/* oklch */ color: oklch(35.7% 0.157 304.8);
Tailwind
colors: {
  custom: {
    50: '#865ca3',
    500: '#50187c',
    950: '#000000',
  },
}
SCSS
$custom: #50187c;
$custom-light: #865ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#50187c",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 273.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35656,
    "c": 0.15704,
    "h": 304.8
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#50187C
secondary
#71B13F
accent
#EA3D8A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50187C

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

Preview Lab → · Contrast checker → · Palette generator →

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