#50249B#50249B

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

Color values

HEX#50249B
RGBrgb(80, 36, 155)
HSLhsl(262, 62%, 37%)
HSVhsv(262, 77%, 61%)
CMYKcmyk(48.4%, 76.8%, 0%, 39.2%)
CIE-LABlab(27.66, 46.68, -57.01)
CIE-LCHlch(27.66, 73.68, 309.31°)
OKLaboklab(39.75% 0.0707 -0.1635)
OKLCHoklch(39.75% 0.178 293.4)
XYZxyz(9.8539, 5.3335, 31.5143)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50249B #6F9B24
analogous
#24339B #50249B #8C249B
triadic
#50249B #9B5024 #249B50
tetradic
#50249B #9B2433 #6F9B24 #249B8C
square
#50249B #9B2433 #6F9B24 #249B8C
split-complementary
#50249B #9B8C24 #339B24
monochromatic
#1D0D38 #361869 #50249B #6A30CD #8D5FDA

Accessibility & contrast

On white

10.16
#50249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50249B
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50249B#FFFFFF#000000##FFFFFF
##50249B1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#39445E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #50249b;
/* rgb */ color: rgb(80, 36, 155);
/* oklch */ color: oklch(39.7% 0.178 293.4);
Tailwind
colors: {
  custom: {
    50: '#8964b9',
    500: '#50249b',
    950: '#000000',
  },
}
SCSS
$custom: #50249b;
$custom-light: #8964b9;
$custom-dark: #000000;
JSON
{
  "hex": "#50249b",
  "rgb": {
    "r": 80,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 262.185,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39745,
    "c": 0.17816,
    "h": 293.4
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#50249B
secondary
#9ABF5C
accent
#E542A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #50249B

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

Preview Lab → · Contrast checker → · Palette generator →

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