#50195D#50195D

#50195D is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.124 H 319.3°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#50195D
RGBrgb(80, 25, 93)
HSLhsl(289, 58%, 23%)
HSVhsv(289, 73%, 36%)
CMYKcmyk(14%, 73.1%, 0%, 63.5%)
CIE-LABlab(20.79, 36.33, -28.78)
CIE-LCHlch(20.79, 46.34, 321.61°)
OKLaboklab(33.3% 0.0938 -0.0806)
OKLCHoklch(33.3% 0.124 319.3)
XYZxyz(5.6314, 3.1913, 10.6732)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50195D #265D19
analogous
#2E195D #50195D #5D1948
triadic
#50195D #5D5019 #195D50
tetradic
#50195D #5D2E19 #265D19 #19485D
square
#50195D #5D2E19 #265D19 #19485D
split-complementary
#50195D #485D19 #195D2E
monochromatic
#150618 #270C2D #50195D #79268D #A333BD

Accessibility & contrast

On white

12.82
#50195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#50195D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50195D
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50195D#FFFFFF#000000##FFFFFF
##50195D1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#1E345B
Tritanopia (blue-blind)
#502539
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #50195d;
/* rgb */ color: rgb(80, 25, 93);
/* oklch */ color: oklch(33.3% 0.124 319.3);
Tailwind
colors: {
  custom: {
    50: '#845b8b',
    500: '#50195d',
    950: '#000000',
  },
}
SCSS
$custom: #50195d;
$custom-light: #845b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#50195d",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 288.529,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33302,
    "c": 0.12366,
    "h": 319.3
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#50195D
secondary
#4F933F
accent
#E14764
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50195D

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

Preview Lab → · Contrast checker → · Palette generator →

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