#50248E#50248E

#50248E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.163 H 296.9°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#50248E
RGBrgb(80, 36, 142)
HSLhsl(265, 60%, 35%)
HSVhsv(265, 75%, 56%)
CMYKcmyk(43.7%, 74.6%, 0%, 44.3%)
CIE-LABlab(26.51, 43.16, -50.91)
CIE-LCHlch(26.51, 66.74, 310.29°)
OKLaboklab(38.57% 0.0739 -0.1456)
OKLCHoklch(38.57% 0.163 296.9)
XYZxyz(8.8203, 4.9200, 26.0709)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50248E #628E24
analogous
#242D8E #50248E #85248E
triadic
#50248E #8E5024 #248E50
tetradic
#50248E #8E242D #628E24 #248E85
square
#50248E #8E242D #628E24 #248E85
split-complementary
#50248E #8E8524 #2D8E24
monochromatic
#190B2C #34185D #50248E #6C30BF #8C58D5

Accessibility & contrast

On white

10.58
#50248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#50248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50248E
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50248E#FFFFFF#000000##FFFFFF
##50248E1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#403F57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #50248e;
/* rgb */ color: rgb(80, 36, 142);
/* oklch */ color: oklch(38.6% 0.163 296.9);
Tailwind
colors: {
  custom: {
    50: '#8763b0',
    500: '#50248e',
    950: '#000000',
  },
}
SCSS
$custom: #50248e;
$custom-light: #8763b0;
$custom-dark: #000000;
JSON
{
  "hex": "#50248e",
  "rgb": {
    "r": 80,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 264.906,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38572,
    "c": 0.16333,
    "h": 296.9
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#50248E
secondary
#8FB955
accent
#E345A1
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #50248E

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

Preview Lab → · Contrast checker → · Palette generator →

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