#50167D#50167D

#50167D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.160 H 304.7°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#50167D
RGBrgb(80, 22, 125)
HSLhsl(274, 70%, 29%)
HSVhsv(274, 82%, 49%)
CMYKcmyk(36%, 82.4%, 0%, 51%)
CIE-LABlab(22.86, 44.99, -46.19)
CIE-LCHlch(22.86, 64.48, 314.25°)
OKLaboklab(35.55% 0.0911 -0.1317)
OKLCHoklch(35.55% 0.16 304.7)
XYZxyz(7.2960, 3.7600, 19.7394)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50167D #437D16
analogous
#1C167D #50167D #7D1677
triadic
#50167D #7D5016 #167D50
tetradic
#50167D #7D1C16 #437D16 #16777D
square
#50167D #7D1C16 #437D16 #16777D
split-complementary
#50167D #777D16 #167D1C
monochromatic
#11051A #2F0D49 #50167D #711FB1 #9132DB

Accessibility & contrast

On white

11.99
#50167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50167D
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50167D#FFFFFF#000000##FFFFFF
##50167D1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#47324A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #50167d;
/* rgb */ color: rgb(80, 22, 125);
/* oklch */ color: oklch(35.6% 0.160 304.7);
Tailwind
colors: {
  custom: {
    50: '#865ba3',
    500: '#50167d',
    950: '#000000',
  },
}
SCSS
$custom: #50167d;
$custom-light: #865ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#50167d",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 273.786,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35554,
    "c": 0.16011,
    "h": 304.7
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#50167D
secondary
#70B23D
accent
#ED3B89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50167D

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

Preview Lab → · Contrast checker → · Palette generator →

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