#5C2BB3#5C2BB3

#5C2BB3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.198 H 292.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#5C2BB3
RGBrgb(92, 43, 179)
HSLhsl(262, 61%, 44%)
HSVhsv(262, 76%, 70%)
CMYKcmyk(48.6%, 76%, 0%, 29.8%)
CIE-LABlab(32.39, 51.75, -63.69)
CIE-LCHlch(32.39, 82.06, 309.09°)
OKLaboklab(44.04% 0.0766 -0.1828)
OKLCHoklch(44.04% 0.198 292.7)
XYZxyz(13.4119, 7.2573, 43.3332)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2BB3 #82B32B
analogous
#2B3EB3 #5C2BB3 #A02BB3
triadic
#5C2BB3 #B35C2B #2BB35C
tetradic
#5C2BB3 #B32B3E #82B32B #2BB3A0
square
#5C2BB3 #B32B3E #82B32B #2BB3A0
split-complementary
#5C2BB3 #B3A02B #3EB32B
monochromatic
#291350 #431F82 #5C2BB3 #7A48D3 #9E79DF

Accessibility & contrast

On white

8.57
#5C2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5C2BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2BB3
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2BB3#FFFFFF#000000##FFFFFF
##5C2BB31.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#40506D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c2bb3;
/* rgb */ color: rgb(92, 43, 179);
/* oklch */ color: oklch(44.0% 0.198 292.7);
Tailwind
colors: {
  custom: {
    50: '#936acb',
    500: '#5c2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #5c2bb3;
$custom-light: #936acb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2bb3",
  "rgb": {
    "r": 92,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 261.618,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44043,
    "c": 0.19818,
    "h": 292.7
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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