#5E25AF#5E25AF

#5E25AF is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.200 H 295.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#5E25AF
RGBrgb(94, 37, 175)
HSLhsl(265, 65%, 42%)
HSVhsv(265, 79%, 69%)
CMYKcmyk(46.3%, 78.9%, 0%, 31.4%)
CIE-LABlab(31.34, 53.65, -63.01)
CIE-LCHlch(31.34, 82.75, 310.41°)
OKLaboklab(43.26% 0.0855 -0.1806)
OKLCHoklch(43.26% 0.2 295.3)
XYZxyz(13.0134, 6.7976, 41.1756)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E25AF #76AF25
analogous
#2531AF #5E25AF #A325AF
triadic
#5E25AF #AF5E25 #25AF5E
tetradic
#5E25AF #AF2531 #76AF25 #25AFA3
square
#5E25AF #AF2531 #76AF25 #25AFA3
split-complementary
#5E25AF #AFA325 #31AF25
monochromatic
#28104A #431A7C #5E25AF #7B3CD6 #9D6EE0

Accessibility & contrast

On white

8.90
#5E25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5E25AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E25AF
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E25AF#FFFFFF#000000##FFFFFF
##5E25AF1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#474C6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e25af;
/* rgb */ color: rgb(94, 37, 175);
/* oklch */ color: oklch(43.3% 0.200 295.3);
Tailwind
colors: {
  custom: {
    50: '#9467c8',
    500: '#5e25af',
    950: '#000000',
  },
}
SCSS
$custom: #5e25af;
$custom-light: #9467c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e25af",
  "rgb": {
    "r": 94,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 264.783,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43256,
    "c": 0.19987,
    "h": 295.3
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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