#5B25BD#5B25BD

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

Color values

HEX#5B25BD
RGBrgb(91, 37, 189)
HSLhsl(261, 67%, 44%)
HSVhsv(261, 80%, 74%)
CMYKcmyk(51.9%, 80.4%, 0%, 25.9%)
CIE-LABlab(32.30, 56.84, -69.75)
CIE-LCHlch(32.30, 89.98, 309.18°)
OKLaboklab(44.24% 0.0765 -0.2005)
OKLCHoklch(44.24% 0.215 290.9)
XYZxyz(14.1586, 7.2208, 48.7820)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B25BD #87BD25
analogous
#253BBD #5B25BD #A725BD
triadic
#5B25BD #BD5B25 #25BD5B
tetradic
#5B25BD #BD253B #87BD25 #25BDA7
square
#5B25BD #BD253B #87BD25 #25BDA7
split-complementary
#5B25BD #BDA725 #3BBD25
monochromatic
#2A1157 #421B8A #5B25BD #7A45DB #9E78E5

Accessibility & contrast

On white

8.59
#5B25BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5B25BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B25BD
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B25BD#FFFFFF#000000##FFFFFF
##5B25BD1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b25bd;
/* rgb */ color: rgb(91, 37, 189);
/* oklch */ color: oklch(44.2% 0.215 290.9);
Tailwind
colors: {
  custom: {
    50: '#9467d2',
    500: '#5b25bd',
    950: '#000000',
  },
}
SCSS
$custom: #5b25bd;
$custom-light: #9467d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b25bd",
  "rgb": {
    "r": 91,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 261.316,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44244,
    "c": 0.2146,
    "h": 290.9
  },
  "luminance": 0.07221
}

Semantic roles & 50–950 ramp

primary
#5B25BD
secondary
#ACCC72
accent
#EA3EAD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5B25BD

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

Preview Lab → · Contrast checker → · Palette generator →

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