#5029AE#5029AE

#5029AE is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.195 H 288.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#5029AE
RGBrgb(80, 41, 174)
HSLhsl(258, 62%, 42%)
HSVhsv(258, 76%, 68%)
CMYKcmyk(54%, 76.4%, 0%, 31.8%)
CIE-LABlab(30.27, 49.56, -64.22)
CIE-LCHlch(30.27, 81.12, 307.65°)
OKLaboklab(42.11% 0.0614 -0.1847)
OKLCHoklch(42.11% 0.195 288.4)
XYZxyz(11.7389, 6.3468, 40.6427)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5029AE #87AE29
analogous
#2945AE #5029AE #9329AE
triadic
#5029AE #AE5029 #29AE50
tetradic
#5029AE #AE2945 #87AE29 #29AE93
square
#5029AE #AE2945 #87AE29 #29AE93
split-complementary
#5029AE #AE9329 #45AE29
monochromatic
#22124B #391D7C #5029AE #6C42D2 #9373DE

Accessibility & contrast

On white

9.25
#5029AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5029AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5029AE
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5029AE#FFFFFF#000000##FFFFFF
##5029AE1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5029ae;
/* rgb */ color: rgb(80, 41, 174);
/* oklch */ color: oklch(42.1% 0.195 288.4);
Tailwind
colors: {
  custom: {
    50: '#8b67c7',
    500: '#5029ae',
    950: '#000000',
  },
}
SCSS
$custom: #5029ae;
$custom-light: #8b67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5029ae",
  "rgb": {
    "r": 80,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 257.594,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42113,
    "c": 0.19467,
    "h": 288.4
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#5029AE
secondary
#ACC56D
accent
#E543B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5029AE

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

Preview Lab → · Contrast checker → · Palette generator →

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