#50197B#50197B

#50197B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.155 H 305.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#50197B
RGBrgb(80, 25, 123)
HSLhsl(274, 66%, 29%)
HSVhsv(274, 80%, 48%)
CMYKcmyk(35%, 79.7%, 0%, 51.8%)
CIE-LABlab(23.10, 43.30, -44.52)
CIE-LCHlch(23.10, 62.11, 314.20°)
OKLaboklab(35.67% 0.089 -0.1268)
OKLCHoklch(35.67% 0.155 305.1)
XYZxyz(7.2302, 3.8308, 19.0936)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50197B #447B19
analogous
#1F197B #50197B #7B1975
triadic
#50197B #7B5019 #197B50
tetradic
#50197B #7B1F19 #447B19 #19757B
square
#50197B #7B1F19 #447B19 #19757B
split-complementary
#50197B #757B19 #197B1F
monochromatic
#110519 #2F0F48 #50197B #7123AE #9138D7

Accessibility & contrast

On white

11.89
#50197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#50197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50197B
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50197B#FFFFFF#000000##FFFFFF
##50197B1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#483249
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #50197b;
/* rgb */ color: rgb(80, 25, 123);
/* oklch */ color: oklch(35.7% 0.155 305.1);
Tailwind
colors: {
  custom: {
    50: '#865ca2',
    500: '#50197b',
    950: '#000000',
  },
}
SCSS
$custom: #50197b;
$custom-light: #865ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#50197b",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 273.673,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35669,
    "c": 0.15493,
    "h": 305.1
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#50197B
secondary
#71AF40
accent
#E93F89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50197B

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

Preview Lab → · Contrast checker → · Palette generator →

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