#5026AD#5026AD

#5026AD is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.196 H 289.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#5026AD
RGBrgb(80, 38, 173)
HSLhsl(259, 64%, 41%)
HSVhsv(259, 78%, 68%)
CMYKcmyk(53.8%, 78%, 0%, 32.2%)
CIE-LABlab(29.68, 50.69, -64.59)
CIE-LCHlch(29.68, 82.10, 308.12°)
OKLaboklab(41.67% 0.0639 -0.1858)
OKLCHoklch(41.67% 0.196 289)
XYZxyz(11.5420, 6.1083, 40.0979)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5026AD #83AD26
analogous
#263FAD #5026AD #9426AD
triadic
#5026AD #AD5026 #26AD50
tetradic
#5026AD #AD263F #83AD26 #26AD94
square
#5026AD #AD263F #83AD26 #26AD94
split-complementary
#5026AD #AD9426 #3FAD26
monochromatic
#221049 #391B7B #5026AD #6B3CD4 #916EDF

Accessibility & contrast

On white

9.45
#5026AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5026AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5026AD
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5026AD#FFFFFF#000000##FFFFFF
##5026AD1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B1
Deuteranopia (green-blind)
#0043AB
Tritanopia (blue-blind)
#2B4D69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5026ad;
/* rgb */ color: rgb(80, 38, 173);
/* oklch */ color: oklch(41.7% 0.196 289.0);
Tailwind
colors: {
  custom: {
    50: '#8b66c7',
    500: '#5026ad',
    950: '#000000',
  },
}
SCSS
$custom: #5026ad;
$custom-light: #8b66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5026ad",
  "rgb": {
    "r": 80,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 258.667,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41674,
    "c": 0.19646,
    "h": 289
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#5026AD
secondary
#A9C669
accent
#E741B3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5026AD

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

Preview Lab → · Contrast checker → · Palette generator →

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