#5C2AB0#5C2AB0

#5C2AB0 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.196 H 293.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#5C2AB0
RGBrgb(92, 42, 176)
HSLhsl(262, 61%, 43%)
HSVhsv(262, 76%, 69%)
CMYKcmyk(47.7%, 76.1%, 0%, 31%)
CIE-LABlab(31.96, 51.41, -62.61)
CIE-LCHlch(31.96, 81.01, 309.39°)
OKLaboklab(43.66% 0.0783 -0.1796)
OKLCHoklch(43.66% 0.196 293.5)
XYZxyz(13.0759, 7.0654, 41.7407)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2AB0 #7EB02A
analogous
#2A3BB0 #5C2AB0 #9F2AB0
triadic
#5C2AB0 #B05C2A #2AB05C
tetradic
#5C2AB0 #B02A3B #7EB02A #2AB09F
square
#5C2AB0 #B02A3B #7EB02A #2AB09F
split-complementary
#5C2AB0 #B09F2A #3BB02A
monochromatic
#28124D #421E7F #5C2AB0 #7A45D3 #9D76DE

Accessibility & contrast

On white

8.70
#5C2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5C2AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2AB0
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2AB0#FFFFFF#000000##FFFFFF
##5C2AB01.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#424F6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5c2ab0;
/* rgb */ color: rgb(92, 42, 176);
/* oklch */ color: oklch(43.7% 0.196 293.5);
Tailwind
colors: {
  custom: {
    50: '#9269c9',
    500: '#5c2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ab0;
$custom-light: #9269c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ab0",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 262.388,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43659,
    "c": 0.19589,
    "h": 293.5
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#5C2AB0
secondary
#A6C670
accent
#E543A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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