#5C2BB5#5C2BB5

#5C2BB5 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.200 H 292.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#5C2BB5
RGBrgb(92, 43, 181)
HSLhsl(261, 62%, 44%)
HSVhsv(261, 76%, 71%)
CMYKcmyk(49.2%, 76.2%, 0%, 29%)
CIE-LABlab(32.57, 52.28, -64.58)
CIE-LCHlch(32.57, 83.09, 308.99°)
OKLaboklab(44.22% 0.0761 -0.1854)
OKLCHoklch(44.22% 0.2 292.3)
XYZxyz(13.6157, 7.3388, 44.4062)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2BB5 #84B52B
analogous
#2B3FB5 #5C2BB5 #A12BB5
triadic
#5C2BB5 #B55C2B #2BB55C
tetradic
#5C2BB5 #B52B3F #84B52B #2BB5A1
square
#5C2BB5 #B52B3F #84B52B #2BB5A1
split-complementary
#5C2BB5 #B5A12B #3FB52B
monochromatic
#2A1452 #431F84 #5C2BB5 #7B49D4 #9F7BE0

Accessibility & contrast

On white

8.51
#5C2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5C2BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2BB5
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2BB5#FFFFFF#000000##FFFFFF
##5C2BB51.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#3F516F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c2bb5;
/* rgb */ color: rgb(92, 43, 181);
/* oklch */ color: oklch(44.2% 0.200 292.3);
Tailwind
colors: {
  custom: {
    50: '#936acc',
    500: '#5c2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #5c2bb5;
$custom-light: #936acc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2bb5",
  "rgb": {
    "r": 92,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 261.304,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44225,
    "c": 0.20039,
    "h": 292.3
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#5C2BB5
secondary
#AAC874
accent
#E543AB
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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