#5A25BD#5A25BD

#5A25BD is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.215 H 290.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5A25BD
RGBrgb(90, 37, 189)
HSLhsl(261, 67%, 44%)
HSVhsv(261, 80%, 74%)
CMYKcmyk(52.4%, 80.4%, 0%, 25.9%)
CIE-LABlab(32.19, 56.72, -69.94)
CIE-LCHlch(32.19, 90.05, 309.04°)
OKLaboklab(44.14% 0.075 -0.2011)
OKLCHoklch(44.14% 0.215 290.4)
XYZxyz(14.0607, 7.1703, 48.7774)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A25BD #88BD25
analogous
#253CBD #5A25BD #A625BD
triadic
#5A25BD #BD5A25 #25BD5A
tetradic
#5A25BD #BD253C #88BD25 #25BDA6
square
#5A25BD #BD253C #88BD25 #25BDA6
split-complementary
#5A25BD #BDA625 #3CBD25
monochromatic
#291157 #421B8A #5A25BD #7945DB #9E78E5

Accessibility & contrast

On white

8.63
#5A25BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5A25BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A25BD
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A25BD#FFFFFF#000000##FFFFFF
##5A25BD1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#355272
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5a25bd;
/* rgb */ color: rgb(90, 37, 189);
/* oklch */ color: oklch(44.1% 0.215 290.4);
Tailwind
colors: {
  custom: {
    50: '#9367d2',
    500: '#5a25bd',
    950: '#000000',
  },
}
SCSS
$custom: #5a25bd;
$custom-light: #9367d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a25bd",
  "rgb": {
    "r": 90,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 260.921,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.21461,
    "h": 290.4
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#5A25BD
secondary
#ADCC72
accent
#EA3EAE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5A25BD

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

Preview Lab → · Contrast checker → · Palette generator →

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