#50195F#50195F

#50195F is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.126 H 318.2°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#50195F
RGBrgb(80, 25, 95)
HSLhsl(287, 58%, 24%)
HSVhsv(287, 74%, 37%)
CMYKcmyk(15.8%, 73.7%, 0%, 62.7%)
CIE-LABlab(20.93, 36.76, -29.88)
CIE-LCHlch(20.93, 47.38, 320.90°)
OKLaboklab(33.44% 0.0937 -0.0838)
OKLCHoklch(33.44% 0.126 318.2)
XYZxyz(5.7212, 3.2272, 11.1458)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50195F #285F19
analogous
#2D195F #50195F #5F194B
triadic
#50195F #5F5019 #195F50
tetradic
#50195F #5F2D19 #285F19 #194B5F
square
#50195F #5F2D19 #285F19 #194B5F
split-complementary
#50195F #4B5F19 #195F2D
monochromatic
#140618 #270C2F #50195F #79268F #A232C0

Accessibility & contrast

On white

12.76
#50195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#50195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50195F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50195F#FFFFFF#000000##FFFFFF
##50195F1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#1C345D
Tritanopia (blue-blind)
#50263A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #50195f;
/* rgb */ color: rgb(80, 25, 95);
/* oklch */ color: oklch(33.4% 0.126 318.2);
Tailwind
colors: {
  custom: {
    50: '#845b8d',
    500: '#50195f',
    950: '#000000',
  },
}
SCSS
$custom: #50195f;
$custom-light: #845b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#50195f",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 287.143,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33444,
    "c": 0.1257,
    "h": 318.2
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#50195F
secondary
#51953F
accent
#E24668
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50195F

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

Preview Lab → · Contrast checker → · Palette generator →

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