#50195C#50195C

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

Color values

HEX#50195C
RGBrgb(80, 25, 92)
HSLhsl(289, 57%, 23%)
HSVhsv(289, 73%, 36%)
CMYKcmyk(13%, 72.8%, 0%, 63.9%)
CIE-LABlab(20.73, 36.11, -28.22)
CIE-LCHlch(20.73, 45.83, 321.99°)
OKLaboklab(33.23% 0.0938 -0.079)
OKLCHoklch(33.23% 0.123 319.9)
XYZxyz(5.5874, 3.1737, 10.4414)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50195C #255C19
analogous
#2E195C #50195C #5C1946
triadic
#50195C #5C5019 #195C50
tetradic
#50195C #5C2E19 #255C19 #19465C
square
#50195C #5C2E19 #255C19 #19465C
split-complementary
#50195C #465C19 #195C2E
monochromatic
#150718 #260C2C #50195C #7A268C #A433BC

Accessibility & contrast

On white

12.85
#50195C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50195C
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50195C#FFFFFF#000000##FFFFFF
##50195C1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022E5E
Deuteranopia (green-blind)
#1F345A
Tritanopia (blue-blind)
#502538
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #50195c;
/* rgb */ color: rgb(80, 25, 92);
/* oklch */ color: oklch(33.2% 0.123 319.9);
Tailwind
colors: {
  custom: {
    50: '#845b8a',
    500: '#50195c',
    950: '#000000',
  },
}
SCSS
$custom: #50195c;
$custom-light: #845b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#50195c",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 92
  },
  "hsl": {
    "h": 289.254,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33231,
    "c": 0.12263,
    "h": 319.9
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#50195C
secondary
#4E923F
accent
#E14763
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50195C

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

Preview Lab → · Contrast checker → · Palette generator →

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