#50249C#50249C

#50249C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.179 H 293.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#50249C
RGBrgb(80, 36, 156)
HSLhsl(262, 63%, 38%)
HSVhsv(262, 77%, 61%)
CMYKcmyk(48.7%, 76.9%, 0%, 38.8%)
CIE-LABlab(27.76, 46.95, -57.47)
CIE-LCHlch(27.76, 74.21, 309.25°)
OKLaboklab(39.84% 0.0704 -0.1649)
OKLCHoklch(39.84% 0.179 293.1)
XYZxyz(9.9382, 5.3672, 31.9584)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50249C #709C24
analogous
#24349C #50249C #8C249C
triadic
#50249C #9C5024 #249C50
tetradic
#50249C #9C2434 #709C24 #249C8C
square
#50249C #9C2434 #709C24 #249C8C
split-complementary
#50249C #9C8C24 #349C24
monochromatic
#1D0D39 #36196A #50249C #692FCE #8D60DA

Accessibility & contrast

On white

10.13
#50249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#50249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50249C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50249C#FFFFFF#000000##FFFFFF
##50249C1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#38455F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #50249c;
/* rgb */ color: rgb(80, 36, 156);
/* oklch */ color: oklch(39.8% 0.179 293.1);
Tailwind
colors: {
  custom: {
    50: '#8964ba',
    500: '#50249c',
    950: '#000000',
  },
}
SCSS
$custom: #50249c;
$custom-light: #8964ba;
$custom-dark: #000000;
JSON
{
  "hex": "#50249c",
  "rgb": {
    "r": 80,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 262,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39838,
    "c": 0.17929,
    "h": 293.1
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#50249C
secondary
#9BBF5C
accent
#E642AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #50249C

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

Preview Lab → · Contrast checker → · Palette generator →

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