#5C2BB4#5C2BB4

#5C2BB4 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.199 H 292.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5C2BB4
RGBrgb(92, 43, 180)
HSLhsl(261, 61%, 44%)
HSVhsv(261, 76%, 71%)
CMYKcmyk(48.9%, 76.1%, 0%, 29.4%)
CIE-LABlab(32.48, 52.02, -64.14)
CIE-LCHlch(32.48, 82.58, 309.04°)
OKLaboklab(44.13% 0.0764 -0.1841)
OKLCHoklch(44.13% 0.199 292.5)
XYZxyz(13.5134, 7.2979, 43.8678)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2BB4 #83B42B
analogous
#2B3EB4 #5C2BB4 #A02BB4
triadic
#5C2BB4 #B45C2B #2BB45C
tetradic
#5C2BB4 #B42B3E #83B42B #2BB4A0
square
#5C2BB4 #B42B3E #83B42B #2BB4A0
split-complementary
#5C2BB4 #B4A02B #3EB42B
monochromatic
#2A1351 #431F83 #5C2BB4 #7A49D3 #9E7ADF

Accessibility & contrast

On white

8.54
#5C2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5C2BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2BB4
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2BB4#FFFFFF#000000##FFFFFF
##5C2BB41.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#40516E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c2bb4;
/* rgb */ color: rgb(92, 43, 180);
/* oklch */ color: oklch(44.1% 0.199 292.5);
Tailwind
colors: {
  custom: {
    50: '#936acc',
    500: '#5c2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #5c2bb4;
$custom-light: #936acc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2bb4",
  "rgb": {
    "r": 92,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 261.46,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44134,
    "c": 0.19929,
    "h": 292.5
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#5C2BB4
secondary
#A9C773
accent
#E543AB
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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