#50249F#50249F

#50249F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.183 H 292.4°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#50249F
RGBrgb(80, 36, 159)
HSLhsl(261, 63%, 38%)
HSVhsv(261, 77%, 62%)
CMYKcmyk(49.7%, 77.4%, 0%, 37.6%)
CIE-LABlab(28.03, 47.77, -58.84)
CIE-LCHlch(28.03, 75.79, 309.07°)
OKLaboklab(40.12% 0.0695 -0.1689)
OKLCHoklch(40.12% 0.183 292.4)
XYZxyz(10.1954, 5.4701, 33.3128)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50249F #739F24
analogous
#24369F #50249F #8D249F
triadic
#50249F #9F5024 #249F50
tetradic
#50249F #9F2436 #739F24 #249F8D
square
#50249F #9F2436 #739F24 #249F8D
split-complementary
#50249F #9F8D24 #369F24
monochromatic
#1E0D3B #37196D #50249F #6930D0 #8D62DB

Accessibility & contrast

On white

10.03
#50249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50249F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50249F#FFFFFF#000000##FFFFFF
##50249F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#364660
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #50249f;
/* rgb */ color: rgb(80, 36, 159);
/* oklch */ color: oklch(40.1% 0.183 292.4);
Tailwind
colors: {
  custom: {
    50: '#8964bc',
    500: '#50249f',
    950: '#000000',
  },
}
SCSS
$custom: #50249f;
$custom-light: #8964bc;
$custom-dark: #000000;
JSON
{
  "hex": "#50249f",
  "rgb": {
    "r": 80,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 261.463,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40117,
    "c": 0.18267,
    "h": 292.4
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#50249F
secondary
#9DC15E
accent
#E642AB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #50249F

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

Preview Lab → · Contrast checker → · Palette generator →

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