#5E25AE#5E25AE

#5E25AE is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.199 H 295.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#5E25AE
RGBrgb(94, 37, 174)
HSLhsl(265, 65%, 41%)
HSVhsv(265, 79%, 68%)
CMYKcmyk(46%, 78.7%, 0%, 31.8%)
CIE-LABlab(31.25, 53.39, -62.56)
CIE-LCHlch(31.25, 82.24, 310.48°)
OKLaboklab(43.17% 0.0858 -0.1793)
OKLCHoklch(43.17% 0.199 295.6)
XYZxyz(12.9156, 6.7585, 40.6602)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E25AE #75AE25
analogous
#2530AE #5E25AE #A325AE
triadic
#5E25AE #AE5E25 #25AE5E
tetradic
#5E25AE #AE2530 #75AE25 #25AEA3
square
#5E25AE #AE2530 #75AE25 #25AEA3
split-complementary
#5E25AE #AEA325 #30AE25
monochromatic
#271049 #431A7C #5E25AE #7B3BD5 #9D6DE0

Accessibility & contrast

On white

8.93
#5E25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5E25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E25AE
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E25AE#FFFFFF#000000##FFFFFF
##5E25AE1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#474B69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e25ae;
/* rgb */ color: rgb(94, 37, 174);
/* oklch */ color: oklch(43.2% 0.199 295.6);
Tailwind
colors: {
  custom: {
    50: '#9467c7',
    500: '#5e25ae',
    950: '#000000',
  },
}
SCSS
$custom: #5e25ae;
$custom-light: #9467c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e25ae",
  "rgb": {
    "r": 94,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 264.964,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43165,
    "c": 0.19882,
    "h": 295.6
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#5E25AE
secondary
#9FC668
accent
#E840A2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E25AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5E25AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva