#5C2AB5#5C2AB5

#5C2AB5 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.1% C 0.201 H 292.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#5C2AB5
RGBrgb(92, 42, 181)
HSLhsl(262, 62%, 44%)
HSVhsv(262, 77%, 71%)
CMYKcmyk(49.2%, 76.8%, 0%, 29%)
CIE-LABlab(32.41, 52.74, -64.84)
CIE-LCHlch(32.41, 83.58, 309.12°)
OKLaboklab(44.11% 0.0769 -0.1861)
OKLCHoklch(44.11% 0.201 292.4)
XYZxyz(13.5797, 7.2670, 44.3943)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2AB5 #83B52A
analogous
#2A3DB5 #5C2AB5 #A12AB5
triadic
#5C2AB5 #B55C2A #2AB55C
tetradic
#5C2AB5 #B52A3D #83B52A #2AB5A1
square
#5C2AB5 #B52A3D #83B52A #2AB5A1
split-complementary
#5C2AB5 #B5A12A #3DB52A
monochromatic
#2A1352 #431E83 #5C2AB5 #7A48D4 #9E79E0

Accessibility & contrast

On white

8.56
#5C2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5C2AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2AB5
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2AB5#FFFFFF#000000##FFFFFF
##5C2AB51.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#3F516E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c2ab5;
/* rgb */ color: rgb(92, 42, 181);
/* oklch */ color: oklch(44.1% 0.201 292.4);
Tailwind
colors: {
  custom: {
    50: '#9369cc',
    500: '#5c2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ab5;
$custom-light: #9369cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ab5",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 261.583,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44114,
    "c": 0.20139,
    "h": 292.4
  },
  "luminance": 0.07267
}

Semantic roles & 50–950 ramp

primary
#5C2AB5
secondary
#A9C873
accent
#E542AB
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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