#50259B#50259B

#50259B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.177 H 293.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#50259B
RGBrgb(80, 37, 155)
HSLhsl(262, 61%, 38%)
HSVhsv(262, 76%, 61%)
CMYKcmyk(48.4%, 76.1%, 0%, 39.2%)
CIE-LABlab(27.83, 46.20, -56.74)
CIE-LCHlch(27.83, 73.17, 309.16°)
OKLaboklab(39.86% 0.0698 -0.1627)
OKLCHoklch(39.86% 0.177 293.2)
XYZxyz(9.8846, 5.3948, 31.5245)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50259B #709B25
analogous
#25359B #50259B #8B259B
triadic
#50259B #9B5025 #259B50
tetradic
#50259B #9B2535 #709B25 #259B8B
square
#50259B #9B2535 #709B25 #259B8B
split-complementary
#50259B #9B8B25 #359B25
monochromatic
#1D0D38 #36196A #50259B #6931CC #8D61D9

Accessibility & contrast

On white

10.10
#50259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#50259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50259B
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50259B#FFFFFF#000000##FFFFFF
##50259B1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#39455E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #50259b;
/* rgb */ color: rgb(80, 37, 155);
/* oklch */ color: oklch(39.9% 0.177 293.2);
Tailwind
colors: {
  custom: {
    50: '#8964b9',
    500: '#50259b',
    950: '#000000',
  },
}
SCSS
$custom: #50259b;
$custom-light: #8964b9;
$custom-dark: #000000;
JSON
{
  "hex": "#50259b",
  "rgb": {
    "r": 80,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 261.864,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39862,
    "c": 0.17709,
    "h": 293.2
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#50259B
secondary
#9BBF5D
accent
#E543AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #50259B

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

Preview Lab → · Contrast checker → · Palette generator →

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