#50167C#50167C

#50167C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.159 H 305.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#50167C
RGBrgb(80, 22, 124)
HSLhsl(274, 70%, 29%)
HSVhsv(274, 82%, 49%)
CMYKcmyk(35.5%, 82.3%, 0%, 51.4%)
CIE-LABlab(22.77, 44.75, -45.70)
CIE-LCHlch(22.77, 63.96, 314.40°)
OKLaboklab(35.47% 0.0914 -0.1302)
OKLCHoklch(35.47% 0.159 305.1)
XYZxyz(7.2324, 3.7346, 19.4047)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50167C #427C16
analogous
#1D167C #50167C #7C1675
triadic
#50167C #7C5016 #167C50
tetradic
#50167C #7C1D16 #427C16 #16757C
square
#50167C #7C1D16 #427C16 #16757C
split-complementary
#50167C #757C16 #167C1D
monochromatic
#11051A #2E0D48 #50167C #721FB0 #9232DB

Accessibility & contrast

On white

12.02
#50167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#50167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50167C
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50167C#FFFFFF#000000##FFFFFF
##50167C1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#483149
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #50167c;
/* rgb */ color: rgb(80, 22, 124);
/* oklch */ color: oklch(35.5% 0.159 305.1);
Tailwind
colors: {
  custom: {
    50: '#865ba3',
    500: '#50167c',
    950: '#000000',
  },
}
SCSS
$custom: #50167c;
$custom-light: #865ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#50167c",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 274.118,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35465,
    "c": 0.1591,
    "h": 305.1
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

primary
#50167C
secondary
#6FB13D
accent
#ED3B88
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50167C

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

Preview Lab → · Contrast checker → · Palette generator →

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