#50249A#50249A

#50249A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.177 H 293.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#50249A
RGBrgb(80, 36, 154)
HSLhsl(262, 62%, 37%)
HSVhsv(262, 77%, 60%)
CMYKcmyk(48.1%, 76.6%, 0%, 39.6%)
CIE-LABlab(27.57, 46.41, -56.55)
CIE-LCHlch(27.57, 73.15, 309.37°)
OKLaboklab(39.65% 0.0709 -0.1622)
OKLCHoklch(39.65% 0.177 293.6)
XYZxyz(9.7703, 5.3000, 31.0738)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50249A #6E9A24
analogous
#24339A #50249A #8B249A
triadic
#50249A #9A5024 #249A50
tetradic
#50249A #9A2433 #6E9A24 #249A8B
square
#50249A #9A2433 #6E9A24 #249A8B
split-complementary
#50249A #9A8B24 #339A24
monochromatic
#1C0D37 #361868 #50249A #6A30CC #8D5FDA

Accessibility & contrast

On white

10.19
#50249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#50249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50249A
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50249A#FFFFFF#000000##FFFFFF
##50249A1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#39445E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #50249a;
/* rgb */ color: rgb(80, 36, 154);
/* oklch */ color: oklch(39.7% 0.177 293.6);
Tailwind
colors: {
  custom: {
    50: '#8964b9',
    500: '#50249a',
    950: '#000000',
  },
}
SCSS
$custom: #50249a;
$custom-light: #8964b9;
$custom-dark: #000000;
JSON
{
  "hex": "#50249a",
  "rgb": {
    "r": 80,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 262.373,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39653,
    "c": 0.17702,
    "h": 293.6
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#50249A
secondary
#9ABF5B
accent
#E543A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #50249A

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

Preview Lab → · Contrast checker → · Palette generator →

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