#50289E#50289E

#50289E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.177 H 292.0°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#50289E
RGBrgb(80, 40, 158)
HSLhsl(260, 60%, 39%)
HSVhsv(260, 75%, 62%)
CMYKcmyk(49.4%, 74.7%, 0%, 38%)
CIE-LABlab(28.62, 45.56, -57.28)
CIE-LCHlch(28.62, 73.19, 308.50°)
OKLaboklab(40.5% 0.0664 -0.1643)
OKLCHoklch(40.5% 0.177 292)
XYZxyz(10.2369, 5.6913, 32.9003)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50289E #769E28
analogous
#283B9E #50289E #8B289E
triadic
#50289E #9E5028 #289E50
tetradic
#50289E #9E283B #769E28 #289E8B
square
#50289E #9E283B #769E28 #289E8B
split-complementary
#50289E #9E8B28 #3B9E28
monochromatic
#1F0F3C #371C6D #50289E #6A37CC #8E68D9

Accessibility & contrast

On white

9.82
#50289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#50289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50289E
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50289E#FFFFFF#000000##FFFFFF
##50289E1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#374861
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #50289e;
/* rgb */ color: rgb(80, 40, 158);
/* oklch */ color: oklch(40.5% 0.177 292.0);
Tailwind
colors: {
  custom: {
    50: '#8966bc',
    500: '#50289e',
    950: '#000000',
  },
}
SCSS
$custom: #50289e;
$custom-light: #8966bc;
$custom-dark: #000000;
JSON
{
  "hex": "#50289e",
  "rgb": {
    "r": 80,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 260.339,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40501,
    "c": 0.17727,
    "h": 292
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#50289E
secondary
#A0BF63
accent
#E345AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #50289E

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

Preview Lab → · Contrast checker → · Palette generator →

#50289E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva