#5027AA#5027AA

#5027AA is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.192 H 289.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#5027AA
RGBrgb(80, 39, 170)
HSLhsl(259, 63%, 41%)
HSVhsv(259, 77%, 67%)
CMYKcmyk(52.9%, 77.1%, 0%, 33.3%)
CIE-LABlab(29.56, 49.39, -62.99)
CIE-LCHlch(29.56, 80.05, 308.10°)
OKLaboklab(41.5% 0.0641 -0.1811)
OKLCHoklch(41.5% 0.192 289.5)
XYZxyz(11.2874, 6.0583, 38.5970)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5027AA #81AA27
analogous
#273FAA #5027AA #9127AA
triadic
#5027AA #AA5027 #27AA50
tetradic
#5027AA #AA273F #81AA27 #27AA91
square
#5027AA #AA273F #81AA27 #27AA91
split-complementary
#5027AA #AA9127 #3FAA27
monochromatic
#211046 #391C78 #5027AA #6B3CD2 #916EDE

Accessibility & contrast

On white

9.49
#5027AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5027AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5027AA
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5027AA#FFFFFF#000000##FFFFFF
##5027AA1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#2E4C67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5027aa;
/* rgb */ color: rgb(80, 39, 170);
/* oklch */ color: oklch(41.5% 0.192 289.5);
Tailwind
colors: {
  custom: {
    50: '#8b66c4',
    500: '#5027aa',
    950: '#000000',
  },
}
SCSS
$custom: #5027aa;
$custom-light: #8b66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5027aa",
  "rgb": {
    "r": 80,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 258.779,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.415,
    "c": 0.1921,
    "h": 289.5
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#5027AA
secondary
#A8C469
accent
#E642B3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5027AA

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

Preview Lab → · Contrast checker → · Palette generator →

#5027AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva