#50259A#50259A

#50259A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.176 H 293.5°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#50259A
RGBrgb(80, 37, 154)
HSLhsl(262, 61%, 37%)
HSVhsv(262, 76%, 60%)
CMYKcmyk(48.1%, 76%, 0%, 39.6%)
CIE-LABlab(27.74, 45.93, -56.28)
CIE-LCHlch(27.74, 72.64, 309.22°)
OKLaboklab(39.77% 0.0701 -0.1614)
OKLCHoklch(39.77% 0.176 293.5)
XYZxyz(9.8010, 5.3614, 31.0840)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50259A #6F9A25
analogous
#25359A #50259A #8A259A
triadic
#50259A #9A5025 #259A50
tetradic
#50259A #9A2535 #6F9A25 #259A8A
square
#50259A #9A2535 #6F9A25 #259A8A
split-complementary
#50259A #9A8A25 #359A25
monochromatic
#1D0D37 #361969 #50259A #6A31CB #8D60D9

Accessibility & contrast

On white

10.13
#50259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#50259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50259A
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50259A#FFFFFF#000000##FFFFFF
##50259A1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#39445E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #50259a;
/* rgb */ color: rgb(80, 37, 154);
/* oklch */ color: oklch(39.8% 0.176 293.5);
Tailwind
colors: {
  custom: {
    50: '#8964b9',
    500: '#50259a',
    950: '#000000',
  },
}
SCSS
$custom: #50259a;
$custom-light: #8964b9;
$custom-dark: #000000;
JSON
{
  "hex": "#50259a",
  "rgb": {
    "r": 80,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 262.051,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39771,
    "c": 0.17595,
    "h": 293.5
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#50259A
secondary
#9ABE5D
accent
#E443A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #50259A

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

Preview Lab → · Contrast checker → · Palette generator →

#50259A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva