#50195A#50195A

#50195A is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.121 H 321.1°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#50195A
RGBrgb(80, 25, 90)
HSLhsl(291, 57%, 23%)
HSVhsv(291, 72%, 35%)
CMYKcmyk(11.1%, 72.2%, 0%, 64.7%)
CIE-LABlab(20.59, 35.68, -27.10)
CIE-LCHlch(20.59, 44.81, 322.78°)
OKLaboklab(33.09% 0.0939 -0.0757)
OKLCHoklch(33.09% 0.121 321.1)
XYZxyz(5.5011, 3.1392, 9.9870)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50195A #235A19
analogous
#2F195A #50195A #5A1944
triadic
#50195A #5A5019 #195A50
tetradic
#50195A #5A2F19 #235A19 #19445A
square
#50195A #5A2F19 #235A19 #19445A
split-complementary
#50195A #445A19 #195A2F
monochromatic
#150718 #250C2A #50195A #7B268A #A534BA

Accessibility & contrast

On white

12.90
#50195A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50195A
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50195A#FFFFFF#000000##FFFFFF
##50195A1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052E5C
Deuteranopia (green-blind)
#203458
Tritanopia (blue-blind)
#512437
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #50195a;
/* rgb */ color: rgb(80, 25, 90);
/* oklch */ color: oklch(33.1% 0.121 321.1);
Tailwind
colors: {
  custom: {
    50: '#845b89',
    500: '#50195a',
    950: '#000000',
  },
}
SCSS
$custom: #50195a;
$custom-light: #845b89;
$custom-dark: #000000;
JSON
{
  "hex": "#50195a",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 90
  },
  "hsl": {
    "h": 290.769,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33092,
    "c": 0.12061,
    "h": 321.1
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#50195A
secondary
#4B903E
accent
#E0485F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #50195A

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

Preview Lab → · Contrast checker → · Palette generator →

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