#5B29BC#5B29BC

#5B29BC is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.210 H 290.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#5B29BC
RGBrgb(91, 41, 188)
HSLhsl(260, 64%, 45%)
HSVhsv(260, 78%, 74%)
CMYKcmyk(51.6%, 78.2%, 0%, 26.3%)
CIE-LABlab(32.79, 54.90, -68.37)
CIE-LCHlch(32.79, 87.68, 308.76°)
OKLaboklab(44.55% 0.0741 -0.1965)
OKLCHoklch(44.55% 0.21 290.7)
XYZxyz(14.1818, 7.4403, 48.2561)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B29BC #8ABC29
analogous
#2941BC #5B29BC #A429BC
triadic
#5B29BC #BC5B29 #29BC5B
tetradic
#5B29BC #BC2941 #8ABC29 #29BCA4
square
#5B29BC #BC2941 #8ABC29 #29BCA4
split-complementary
#5B29BC #BCA429 #41BC29
monochromatic
#2A1358 #431E8A #5B29BC #7B4BD8 #9F7DE3

Accessibility & contrast

On white

8.44
#5B29BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5B29BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B29BC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B29BC#FFFFFF#000000##FFFFFF
##5B29BC1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#385372
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5b29bc;
/* rgb */ color: rgb(91, 41, 188);
/* oklch */ color: oklch(44.6% 0.210 290.7);
Tailwind
colors: {
  custom: {
    50: '#9469d1',
    500: '#5b29bc',
    950: '#000000',
  },
}
SCSS
$custom: #5b29bc;
$custom-light: #9469d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b29bc",
  "rgb": {
    "r": 91,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 260.408,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44551,
    "c": 0.20999,
    "h": 290.7
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#5B29BC
secondary
#AECB76
accent
#E741AF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5B29BC

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

Preview Lab → · Contrast checker → · Palette generator →

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