#50239C#50239C

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

Color values

HEX#50239C
RGBrgb(80, 35, 156)
HSLhsl(262, 63%, 37%)
HSVhsv(262, 78%, 61%)
CMYKcmyk(48.7%, 77.6%, 0%, 38.8%)
CIE-LABlab(27.59, 47.42, -57.74)
CIE-LCHlch(27.59, 74.71, 309.39°)
OKLaboklab(39.72% 0.0712 -0.1657)
OKLCHoklch(39.72% 0.18 293.3)
XYZxyz(9.9084, 5.3075, 31.9484)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50239C #6F9C23
analogous
#23329C #50239C #8D239C
triadic
#50239C #9C5023 #239C50
tetradic
#50239C #9C2332 #6F9C23 #239C8D
square
#50239C #9C2332 #6F9C23 #239C8D
split-complementary
#50239C #9C8D23 #329C23
monochromatic
#1D0D38 #36186A #50239C #6A2ECE #8D5EDB

Accessibility & contrast

On white

10.19
#50239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#50239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50239C
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50239C#FFFFFF#000000##FFFFFF
##50239C1.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)
#00439F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#38445E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #50239c;
/* rgb */ color: rgb(80, 35, 156);
/* oklch */ color: oklch(39.7% 0.180 293.3);
Tailwind
colors: {
  custom: {
    50: '#8963ba',
    500: '#50239c',
    950: '#000000',
  },
}
SCSS
$custom: #50239c;
$custom-light: #8963ba;
$custom-dark: #000000;
JSON
{
  "hex": "#50239c",
  "rgb": {
    "r": 80,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 262.314,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39724,
    "c": 0.18033,
    "h": 293.3
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#50239C
secondary
#9AC05B
accent
#E641A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #50239C

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

Preview Lab → · Contrast checker → · Palette generator →

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