#5C2EB9#5C2EB9

#5C2EB9 is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.9% C 0.202 H 291.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#5C2EB9
RGBrgb(92, 46, 185)
HSLhsl(260, 60%, 45%)
HSVhsv(260, 75%, 73%)
CMYKcmyk(50.3%, 75.1%, 0%, 27.5%)
CIE-LABlab(33.42, 51.96, -65.56)
CIE-LCHlch(33.42, 83.65, 308.40°)
OKLaboklab(44.93% 0.0726 -0.1883)
OKLCHoklch(44.93% 0.202 291.1)
XYZxyz(14.1451, 7.7315, 46.6366)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2EB9 #8BB92E
analogous
#2E46B9 #5C2EB9 #A12EB9
triadic
#5C2EB9 #B95C2E #2EB95C
tetradic
#5C2EB9 #B92E46 #8BB92E #2EB9A1
square
#5C2EB9 #B92E46 #8BB92E #2EB9A1
split-complementary
#5C2EB9 #B9A12E #46B92E
monochromatic
#2B1657 #442288 #5C2EB9 #7C51D4 #A182E0

Accessibility & contrast

On white

8.25
#5C2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5C2EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2EB9
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2EB9#FFFFFF#000000##FFFFFF
##5C2EB91.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#004CB6
Tritanopia (blue-blind)
#3C5472
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c2eb9;
/* rgb */ color: rgb(92, 46, 185);
/* oklch */ color: oklch(44.9% 0.202 291.1);
Tailwind
colors: {
  custom: {
    50: '#936ccf',
    500: '#5c2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #5c2eb9;
$custom-light: #936ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2eb9",
  "rgb": {
    "r": 92,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 259.856,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.20178,
    "h": 291.1
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#5C2EB9
secondary
#AFC97A
accent
#E344AF
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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