#50249E#50249E

#50249E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.182 H 292.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#50249E
RGBrgb(80, 36, 158)
HSLhsl(262, 63%, 38%)
HSVhsv(262, 77%, 62%)
CMYKcmyk(49.4%, 77.2%, 0%, 38%)
CIE-LABlab(27.94, 47.50, -58.39)
CIE-LCHlch(27.94, 75.27, 309.13°)
OKLaboklab(40.02% 0.0698 -0.1676)
OKLCHoklch(40.02% 0.182 292.6)
XYZxyz(10.1090, 5.4355, 32.8576)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50249E #729E24
analogous
#24359E #50249E #8D249E
triadic
#50249E #9E5024 #249E50
tetradic
#50249E #9E2435 #729E24 #249E8D
square
#50249E #9E2435 #729E24 #249E8D
split-complementary
#50249E #9E8D24 #359E24
monochromatic
#1E0D3A #37196C #50249E #692FD0 #8D61DB

Accessibility & contrast

On white

10.06
#50249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#50249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50249E
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50249E#FFFFFF#000000##FFFFFF
##50249E1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#374660
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #50249e;
/* rgb */ color: rgb(80, 36, 158);
/* oklch */ color: oklch(40.0% 0.182 292.6);
Tailwind
colors: {
  custom: {
    50: '#8964bc',
    500: '#50249e',
    950: '#000000',
  },
}
SCSS
$custom: #50249e;
$custom-light: #8964bc;
$custom-dark: #000000;
JSON
{
  "hex": "#50249e",
  "rgb": {
    "r": 80,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 261.639,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40024,
    "c": 0.18155,
    "h": 292.6
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#50249E
secondary
#9DC05E
accent
#E642AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #50249E

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

Preview Lab → · Contrast checker → · Palette generator →

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