#50259D#50259D

#50259D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.179 H 292.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#50259D
RGBrgb(80, 37, 157)
HSLhsl(262, 62%, 38%)
HSVhsv(262, 76%, 62%)
CMYKcmyk(49%, 76.4%, 0%, 38.4%)
CIE-LABlab(28.01, 46.75, -57.66)
CIE-LCHlch(28.01, 74.23, 309.03°)
OKLaboklab(40.05% 0.0693 -0.1655)
OKLCHoklch(40.05% 0.179 292.7)
XYZxyz(10.0539, 5.4626, 32.4164)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50259D #729D25
analogous
#25369D #50259D #8C259D
triadic
#50259D #9D5025 #259D50
tetradic
#50259D #9D2536 #729D25 #259D8C
square
#50259D #9D2536 #729D25 #259D8C
split-complementary
#50259D #9D8C25 #369D25
monochromatic
#1E0E3A #37196B #50259D #6931CE #8D62DA

Accessibility & contrast

On white

10.04
#50259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#50259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50259D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50259D#FFFFFF#000000##FFFFFF
##50259D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#38465F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #50259d;
/* rgb */ color: rgb(80, 37, 157);
/* oklch */ color: oklch(40.0% 0.179 292.7);
Tailwind
colors: {
  custom: {
    50: '#8964bb',
    500: '#50259d',
    950: '#000000',
  },
}
SCSS
$custom: #50259d;
$custom-light: #8964bb;
$custom-dark: #000000;
JSON
{
  "hex": "#50259d",
  "rgb": {
    "r": 80,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 261.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40047,
    "c": 0.17937,
    "h": 292.7
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #50259D

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

Preview Lab → · Contrast checker → · Palette generator →

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