#5028AE#5028AE

#5028AE is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.196 H 288.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#5028AE
RGBrgb(80, 40, 174)
HSLhsl(258, 63%, 42%)
HSVhsv(258, 77%, 68%)
CMYKcmyk(54%, 77%, 0%, 31.8%)
CIE-LABlab(30.10, 50.03, -64.50)
CIE-LCHlch(30.10, 81.63, 307.80°)
OKLaboklab(42% 0.0622 -0.1855)
OKLCHoklch(42% 0.196 288.5)
XYZxyz(11.7048, 6.2785, 40.6313)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5028AE #86AE28
analogous
#2843AE #5028AE #9328AE
triadic
#5028AE #AE5028 #28AE50
tetradic
#5028AE #AE2843 #86AE28 #28AE93
square
#5028AE #AE2843 #86AE28 #28AE93
split-complementary
#5028AE #AE9328 #43AE28
monochromatic
#22114A #391D7C #5028AE #6C40D3 #9272DF

Accessibility & contrast

On white

9.31
#5028AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5028AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5028AE
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5028AE#FFFFFF#000000##FFFFFF
##5028AE1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#2A4E6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5028ae;
/* rgb */ color: rgb(80, 40, 174);
/* oklch */ color: oklch(42.0% 0.196 288.5);
Tailwind
colors: {
  custom: {
    50: '#8b67c7',
    500: '#5028ae',
    950: '#000000',
  },
}
SCSS
$custom: #5028ae;
$custom-light: #8b67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5028ae",
  "rgb": {
    "r": 80,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 257.91,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41997,
    "c": 0.19566,
    "h": 288.5
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#5028AE
secondary
#ABC66C
accent
#E642B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5028AE

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

Preview Lab → · Contrast checker → · Palette generator →

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