#50167B#50167B

#50167B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.158 H 305.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#50167B
RGBrgb(80, 22, 123)
HSLhsl(274, 70%, 28%)
HSVhsv(274, 82%, 48%)
CMYKcmyk(35%, 82.1%, 0%, 51.8%)
CIE-LABlab(22.69, 44.51, -45.20)
CIE-LCHlch(22.69, 63.44, 314.56°)
OKLaboklab(35.38% 0.0917 -0.1288)
OKLCHoklch(35.38% 0.158 305.4)
XYZxyz(7.1695, 3.7094, 19.0733)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50167B #417B16
analogous
#1D167B #50167B #7B1673
triadic
#50167B #7B5016 #167B50
tetradic
#50167B #7B1D16 #417B16 #16737B
square
#50167B #7B1D16 #417B16 #16737B
split-complementary
#50167B #737B16 #167B1D
monochromatic
#11051A #2E0D47 #50167B #721FAF #9231DA

Accessibility & contrast

On white

12.06
#50167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#50167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50167B
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50167B#FFFFFF#000000##FFFFFF
##50167B1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#483149
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #50167b;
/* rgb */ color: rgb(80, 22, 123);
/* oklch */ color: oklch(35.4% 0.158 305.4);
Tailwind
colors: {
  custom: {
    50: '#865ba2',
    500: '#50167b',
    950: '#000000',
  },
}
SCSS
$custom: #50167b;
$custom-light: #865ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#50167b",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 274.455,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35377,
    "c": 0.15807,
    "h": 305.4
  },
  "luminance": 0.03709
}

Semantic roles & 50–950 ramp

primary
#50167B
secondary
#6EB03D
accent
#EC3B87
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50167B

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

Preview Lab → · Contrast checker → · Palette generator →

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