#5026AE#5026AE

#5026AE is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.198 H 288.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#5026AE
RGBrgb(80, 38, 174)
HSLhsl(259, 64%, 42%)
HSVhsv(259, 78%, 68%)
CMYKcmyk(54%, 78.2%, 0%, 31.8%)
CIE-LABlab(29.78, 50.96, -65.03)
CIE-LCHlch(29.78, 82.62, 308.08°)
OKLaboklab(41.77% 0.0637 -0.187)
OKLCHoklch(41.77% 0.198 288.8)
XYZxyz(11.6391, 6.1471, 40.6094)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5026AE #84AE26
analogous
#2640AE #5026AE #9426AE
triadic
#5026AE #AE5026 #26AE50
tetradic
#5026AE #AE2640 #84AE26 #26AE94
square
#5026AE #AE2640 #84AE26 #26AE94
split-complementary
#5026AE #AE9426 #40AE26
monochromatic
#22104A #391B7C #5026AE #6C3DD5 #926FE0

Accessibility & contrast

On white

9.42
#5026AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5026AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5026AE
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5026AE#FFFFFF#000000##FFFFFF
##5026AE1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#2A4D69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5026ae;
/* rgb */ color: rgb(80, 38, 174);
/* oklch */ color: oklch(41.8% 0.198 288.8);
Tailwind
colors: {
  custom: {
    50: '#8c66c7',
    500: '#5026ae',
    950: '#000000',
  },
}
SCSS
$custom: #5026ae;
$custom-light: #8c66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5026ae",
  "rgb": {
    "r": 80,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 258.529,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41771,
    "c": 0.19758,
    "h": 288.8
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#5026AE
secondary
#AAC66A
accent
#E741B4
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5026AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5026AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva