#50195B#50195B

#50195B is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.2% C 0.122 H 320.5°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#50195B
RGBrgb(80, 25, 91)
HSLhsl(290, 57%, 23%)
HSVhsv(290, 73%, 36%)
CMYKcmyk(12.1%, 72.5%, 0%, 64.3%)
CIE-LABlab(20.66, 35.89, -27.66)
CIE-LCHlch(20.66, 45.32, 322.38°)
OKLaboklab(33.16% 0.0939 -0.0773)
OKLCHoklch(33.16% 0.122 320.5)
XYZxyz(5.5440, 3.1563, 10.2127)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50195B #245B19
analogous
#2F195B #50195B #5B1945
triadic
#50195B #5B5019 #195B50
tetradic
#50195B #5B2F19 #245B19 #19455B
square
#50195B #5B2F19 #245B19 #19455B
split-complementary
#50195B #455B19 #195B2F
monochromatic
#150718 #260C2B #50195B #7A268B #A433BB

Accessibility & contrast

On white

12.87
#50195B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#50195B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50195B
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50195B#FFFFFF#000000##FFFFFF
##50195B1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032E5D
Deuteranopia (green-blind)
#1F3459
Tritanopia (blue-blind)
#512538
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #50195b;
/* rgb */ color: rgb(80, 25, 91);
/* oklch */ color: oklch(33.2% 0.122 320.5);
Tailwind
colors: {
  custom: {
    50: '#845b8a',
    500: '#50195b',
    950: '#000000',
  },
}
SCSS
$custom: #50195b;
$custom-light: #845b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#50195b",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 91
  },
  "hsl": {
    "h": 290,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33162,
    "c": 0.12161,
    "h": 320.5
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#50195B
secondary
#4C913F
accent
#E04861
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #50195B

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

Preview Lab → · Contrast checker → · Palette generator →

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