#50239F#50239F

#50239F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.184 H 292.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#50239F
RGBrgb(80, 35, 159)
HSLhsl(262, 64%, 38%)
HSVhsv(262, 78%, 62%)
CMYKcmyk(49.7%, 78%, 0%, 37.6%)
CIE-LABlab(27.87, 48.23, -59.11)
CIE-LCHlch(27.87, 76.29, 309.21°)
OKLaboklab(40.01% 0.0704 -0.1697)
OKLCHoklch(40.01% 0.184 292.5)
XYZxyz(10.1656, 5.4104, 33.3029)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50239F #729F23
analogous
#23349F #50239F #8E239F
triadic
#50239F #9F5023 #239F50
tetradic
#50239F #9F2334 #729F23 #239F8E
square
#50239F #9F2334 #729F23 #239F8E
split-complementary
#50239F #9F8E23 #349F23
monochromatic
#1E0D3B #37186D #50239F #692ED1 #8D60DC

Accessibility & contrast

On white

10.09
#50239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50239F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50239F#FFFFFF#000000##FFFFFF
##50239F1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#364660
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #50239f;
/* rgb */ color: rgb(80, 35, 159);
/* oklch */ color: oklch(40.0% 0.184 292.5);
Tailwind
colors: {
  custom: {
    50: '#8a63bc',
    500: '#50239f',
    950: '#000000',
  },
}
SCSS
$custom: #50239f;
$custom-light: #8a63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#50239f",
  "rgb": {
    "r": 80,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 261.774,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40005,
    "c": 0.18369,
    "h": 292.5
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#50239F
secondary
#9DC15D
accent
#E741AB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #50239F

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

Preview Lab → · Contrast checker → · Palette generator →

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