#50239E#50239E

#50239E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.183 H 292.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#50239E
RGBrgb(80, 35, 158)
HSLhsl(262, 64%, 38%)
HSVhsv(262, 78%, 62%)
CMYKcmyk(49.4%, 77.8%, 0%, 38%)
CIE-LABlab(27.78, 47.96, -58.65)
CIE-LCHlch(27.78, 75.76, 309.27°)
OKLaboklab(39.91% 0.0706 -0.1683)
OKLCHoklch(39.91% 0.183 292.8)
XYZxyz(10.0791, 5.3758, 32.8477)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50239E #719E23
analogous
#23339E #50239E #8D239E
triadic
#50239E #9E5023 #239E50
tetradic
#50239E #9E2333 #719E23 #239E8D
square
#50239E #9E2333 #719E23 #239E8D
split-complementary
#50239E #9E8D23 #339E23
monochromatic
#1D0D3A #37186C #50239E #692ED0 #8D60DC

Accessibility & contrast

On white

10.12
#50239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#50239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50239E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50239E#FFFFFF#000000##FFFFFF
##50239E1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#374560
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #50239e;
/* rgb */ color: rgb(80, 35, 158);
/* oklch */ color: oklch(39.9% 0.183 292.8);
Tailwind
colors: {
  custom: {
    50: '#8963bc',
    500: '#50239e',
    950: '#000000',
  },
}
SCSS
$custom: #50239e;
$custom-light: #8963bc;
$custom-dark: #000000;
JSON
{
  "hex": "#50239e",
  "rgb": {
    "r": 80,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 261.951,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39911,
    "c": 0.18257,
    "h": 292.8
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#50239E
secondary
#9CC15C
accent
#E741AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #50239E

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

Preview Lab → · Contrast checker → · Palette generator →

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