#50259E#50259E

#50259E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.181 H 292.5°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#50259E
RGBrgb(80, 37, 158)
HSLhsl(261, 62%, 38%)
HSVhsv(261, 77%, 62%)
CMYKcmyk(49.4%, 76.6%, 0%, 38%)
CIE-LABlab(28.11, 47.02, -58.12)
CIE-LCHlch(28.11, 74.76, 308.98°)
OKLaboklab(40.14% 0.069 -0.1668)
OKLCHoklch(40.14% 0.181 292.5)
XYZxyz(10.1397, 5.4969, 32.8679)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50259E #739E25
analogous
#25379E #50259E #8C259E
triadic
#50259E #9E5025 #259E50
tetradic
#50259E #9E2537 #739E25 #259E8C
square
#50259E #9E2537 #739E25 #259E8C
split-complementary
#50259E #9E8C25 #379E25
monochromatic
#1E0E3B #37196C #50259E #6931CF #8D63DA

Accessibility & contrast

On white

10.00
#50259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#50259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50259E
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50259E#FFFFFF#000000##FFFFFF
##50259E1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#374660
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #50259e;
/* rgb */ color: rgb(80, 37, 158);
/* oklch */ color: oklch(40.1% 0.181 292.5);
Tailwind
colors: {
  custom: {
    50: '#8964bc',
    500: '#50259e',
    950: '#000000',
  },
}
SCSS
$custom: #50259e;
$custom-light: #8964bc;
$custom-dark: #000000;
JSON
{
  "hex": "#50259e",
  "rgb": {
    "r": 80,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 261.322,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40139,
    "c": 0.18051,
    "h": 292.5
  },
  "luminance": 0.05497
}

Semantic roles & 50–950 ramp

primary
#50259E
secondary
#9DC05F
accent
#E543AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #50259E

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

Preview Lab → · Contrast checker → · Palette generator →

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