#5026AB#5026AB

#5026AB is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.194 H 289.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#5026AB
RGBrgb(80, 38, 171)
HSLhsl(259, 64%, 41%)
HSVhsv(259, 78%, 67%)
CMYKcmyk(53.2%, 77.8%, 0%, 32.9%)
CIE-LABlab(29.49, 50.13, -63.71)
CIE-LCHlch(29.49, 81.07, 308.20°)
OKLaboklab(41.48% 0.0645 -0.1832)
OKLCHoklch(41.48% 0.194 289.4)
XYZxyz(11.3499, 6.0314, 39.0863)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5026AB #81AB26
analogous
#263FAB #5026AB #9226AB
triadic
#5026AB #AB5026 #26AB50
tetradic
#5026AB #AB263F #81AB26 #26AB92
square
#5026AB #AB263F #81AB26 #26AB92
split-complementary
#5026AB #AB9226 #3FAB26
monochromatic
#211047 #391B79 #5026AB #6B3BD3 #916DDF

Accessibility & contrast

On white

9.52
#5026AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5026AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5026AB
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5026AB#FFFFFF#000000##FFFFFF
##5026AB1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#2D4C68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5026ab;
/* rgb */ color: rgb(80, 38, 171);
/* oklch */ color: oklch(41.5% 0.194 289.4);
Tailwind
colors: {
  custom: {
    50: '#8b66c5',
    500: '#5026ab',
    950: '#000000',
  },
}
SCSS
$custom: #5026ab;
$custom-light: #8b66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5026ab",
  "rgb": {
    "r": 80,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 258.947,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41481,
    "c": 0.19421,
    "h": 289.4
  },
  "luminance": 0.06032
}

Semantic roles & 50–950 ramp

primary
#5026AB
secondary
#A8C568
accent
#E741B2
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5026AB

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

Preview Lab → · Contrast checker → · Palette generator →

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