#5D25AE#5D25AE

#5D25AE is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.199 H 295.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#5D25AE
RGBrgb(93, 37, 174)
HSLhsl(265, 65%, 41%)
HSVhsv(265, 79%, 68%)
CMYKcmyk(46.6%, 78.7%, 0%, 31.8%)
CIE-LABlab(31.13, 53.24, -62.76)
CIE-LCHlch(31.13, 82.30, 310.31°)
OKLaboklab(43.05% 0.0843 -0.18)
OKLCHoklch(43.05% 0.199 295.1)
XYZxyz(12.8137, 6.7059, 40.6554)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D25AE #76AE25
analogous
#2531AE #5D25AE #A225AE
triadic
#5D25AE #AE5D25 #25AE5D
tetradic
#5D25AE #AE2531 #76AE25 #25AEA2
square
#5D25AE #AE2531 #76AE25 #25AEA2
split-complementary
#5D25AE #AEA225 #31AE25
monochromatic
#271049 #421A7C #5D25AE #7A3BD5 #9C6DE0

Accessibility & contrast

On white

8.97
#5D25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5D25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D25AE
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D25AE#FFFFFF#000000##FFFFFF
##5D25AE1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#454B69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5d25ae;
/* rgb */ color: rgb(93, 37, 174);
/* oklch */ color: oklch(43.1% 0.199 295.1);
Tailwind
colors: {
  custom: {
    50: '#9367c7',
    500: '#5d25ae',
    950: '#000000',
  },
}
SCSS
$custom: #5d25ae;
$custom-light: #9367c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d25ae",
  "rgb": {
    "r": 93,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 264.526,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43052,
    "c": 0.19874,
    "h": 295.1
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#5D25AE
secondary
#A0C668
accent
#E840A3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5D25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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