#5C2EB3#5C2EB3

#5C2EB3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.195 H 292.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#5C2EB3
RGBrgb(92, 46, 179)
HSLhsl(261, 59%, 44%)
HSVhsv(261, 74%, 70%)
CMYKcmyk(48.6%, 74.3%, 0%, 29.8%)
CIE-LABlab(32.88, 50.33, -62.87)
CIE-LCHlch(32.88, 80.54, 308.68°)
OKLaboklab(44.39% 0.0741 -0.1804)
OKLCHoklch(44.39% 0.195 292.3)
XYZxyz(13.5250, 7.4835, 43.3709)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2EB3 #85B32E
analogous
#2E43B3 #5C2EB3 #9F2EB3
triadic
#5C2EB3 #B35C2E #2EB35C
tetradic
#5C2EB3 #B32E43 #85B32E #2EB39F
square
#5C2EB3 #B32E43 #85B32E #2EB39F
split-complementary
#5C2EB3 #B39F2E #43B32E
monochromatic
#2A1552 #432182 #5C2EB3 #7B4DD1 #9F7EDE

Accessibility & contrast

On white

8.41
#5C2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5C2EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2EB3
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2EB3#FFFFFF#000000##FFFFFF
##5C2EB31.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#40526E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c2eb3;
/* rgb */ color: rgb(92, 46, 179);
/* oklch */ color: oklch(44.4% 0.195 292.3);
Tailwind
colors: {
  custom: {
    50: '#936bcb',
    500: '#5c2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #5c2eb3;
$custom-light: #936bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2eb3",
  "rgb": {
    "r": 92,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 260.752,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44393,
    "c": 0.19504,
    "h": 292.3
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#5C2EB3
secondary
#ABC676
accent
#E246AC
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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