#5025AE#5025AE

#5025AE is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.199 H 288.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#5025AE
RGBrgb(80, 37, 174)
HSLhsl(259, 65%, 41%)
HSVhsv(259, 79%, 68%)
CMYKcmyk(54%, 78.7%, 0%, 31.8%)
CIE-LABlab(29.62, 51.42, -65.29)
CIE-LCHlch(29.62, 83.10, 308.22°)
OKLaboklab(41.66% 0.0644 -0.1878)
OKLCHoklch(41.66% 0.199 288.9)
XYZxyz(11.6076, 6.0840, 40.5989)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5025AE #83AE25
analogous
#253FAE #5025AE #9525AE
triadic
#5025AE #AE5025 #25AE50
tetradic
#5025AE #AE253F #83AE25 #25AE95
square
#5025AE #AE253F #83AE25 #25AE95
split-complementary
#5025AE #AE9525 #3FAE25
monochromatic
#221049 #391A7C #5025AE #6B3BD5 #916DE0

Accessibility & contrast

On white

9.47
#5025AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5025AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5025AE
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5025AE#FFFFFF#000000##FFFFFF
##5025AE1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#2A4D69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5025ae;
/* rgb */ color: rgb(80, 37, 174);
/* oklch */ color: oklch(41.7% 0.199 288.9);
Tailwind
colors: {
  custom: {
    50: '#8c65c7',
    500: '#5025ae',
    950: '#000000',
  },
}
SCSS
$custom: #5025ae;
$custom-light: #8c65c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5025ae",
  "rgb": {
    "r": 80,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 258.832,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41661,
    "c": 0.19852,
    "h": 288.9
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#5025AE
secondary
#A9C668
accent
#E840B3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5025AE

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

Preview Lab → · Contrast checker → · Palette generator →

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