#5C2ABC#5C2ABC

#5C2ABC is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.209 H 291.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#5C2ABC
RGBrgb(92, 42, 188)
HSLhsl(261, 63%, 45%)
HSVhsv(261, 78%, 74%)
CMYKcmyk(51.1%, 77.7%, 0%, 26.3%)
CIE-LABlab(33.05, 54.60, -67.93)
CIE-LCHlch(33.05, 87.15, 308.79°)
OKLaboklab(44.76% 0.0749 -0.1952)
OKLCHoklch(44.76% 0.209 291)
XYZxyz(14.3161, 7.5615, 48.2724)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2ABC #8ABC2A
analogous
#2A41BC #5C2ABC #A52ABC
triadic
#5C2ABC #BC5C2A #2ABC5C
tetradic
#5C2ABC #BC2A41 #8ABC2A #2ABCA5
square
#5C2ABC #BC2A41 #8ABC2A #2ABCA5
split-complementary
#5C2ABC #BCA52A #41BC2A
monochromatic
#2B1458 #441F8A #5C2ABC #7C4CD7 #A07EE2

Accessibility & contrast

On white

8.36
#5C2ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5C2ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2ABC
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2ABC#FFFFFF#000000##FFFFFF
##5C2ABC1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#3A5372
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c2abc;
/* rgb */ color: rgb(92, 42, 188);
/* oklch */ color: oklch(44.8% 0.209 291.0);
Tailwind
colors: {
  custom: {
    50: '#946ad1',
    500: '#5c2abc',
    950: '#000000',
  },
}
SCSS
$custom: #5c2abc;
$custom-light: #946ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2abc",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 260.548,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44761,
    "c": 0.20905,
    "h": 291
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#5C2ABC
secondary
#AECB77
accent
#E741AE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C2ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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