#5025A4#5025A4

#5025A4 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.187 H 291.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#5025A4
RGBrgb(80, 37, 164)
HSLhsl(260, 63%, 39%)
HSVhsv(260, 77%, 64%)
CMYKcmyk(51.2%, 77.4%, 0%, 35.7%)
CIE-LABlab(28.66, 48.67, -60.84)
CIE-LCHlch(28.66, 77.92, 308.66°)
OKLaboklab(40.7% 0.0673 -0.1748)
OKLCHoklch(40.7% 0.187 291.1)
XYZxyz(10.6688, 5.7085, 35.6545)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5025A4 #79A425
analogous
#253AA4 #5025A4 #9025A4
triadic
#5025A4 #A45025 #25A450
tetradic
#5025A4 #A4253A #79A425 #25A490
square
#5025A4 #A4253A #79A425 #25A490
split-complementary
#5025A4 #A49025 #3AA425
monochromatic
#1F0E40 #381A72 #5025A4 #6A35D1 #8F67DD

Accessibility & contrast

On white

9.80
#5025A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#5025A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5025A4
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5025A4#FFFFFF#000000##FFFFFF
##5025A41.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#334963
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5025a4;
/* rgb */ color: rgb(80, 37, 164);
/* oklch */ color: oklch(40.7% 0.187 291.1);
Tailwind
colors: {
  custom: {
    50: '#8a65c0',
    500: '#5025a4',
    950: '#000000',
  },
}
SCSS
$custom: #5025a4;
$custom-light: #8a65c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5025a4",
  "rgb": {
    "r": 80,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 260.315,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40702,
    "c": 0.18731,
    "h": 291.1
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#5025A4
secondary
#A2C262
accent
#E642AE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5025A4

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

Preview Lab → · Contrast checker → · Palette generator →

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