#5C2AA9#5C2AA9

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

Color values

HEX#5C2AA9
RGBrgb(92, 42, 169)
HSLhsl(264, 60%, 41%)
HSVhsv(264, 75%, 66%)
CMYKcmyk(45.6%, 75.1%, 0%, 33.7%)
CIE-LABlab(31.34, 49.56, -59.43)
CIE-LCHlch(31.34, 77.38, 309.83°)
OKLaboklab(43.03% 0.0801 -0.1703)
OKLCHoklch(43.03% 0.188 295.2)
XYZxyz(12.4011, 6.7955, 38.1867)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2AA9 #77A92A
analogous
#2A38A9 #5C2AA9 #9C2AA9
triadic
#5C2AA9 #A95C2A #2AA95C
tetradic
#5C2AA9 #A92A38 #77A92A #2AA99C
square
#5C2AA9 #A92A38 #77A92A #2AA99C
split-complementary
#5C2AA9 #A99C2A #38A92A
monochromatic
#271247 #411E78 #5C2AA9 #7941D0 #9B72DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C2AA9#FFFFFF#000000##FFFFFF
##5C2AA91.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)
#004BAD
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#464C68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5c2aa9;
/* rgb */ color: rgb(92, 42, 169);
/* oklch */ color: oklch(43.0% 0.188 295.2);
Tailwind
colors: {
  custom: {
    50: '#9269c4',
    500: '#5c2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #5c2aa9;
$custom-light: #9269c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2aa9",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 263.622,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43034,
    "c": 0.18813,
    "h": 295.2
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

primary
#5C2AA9
secondary
#A1C36C
accent
#E344A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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