#5C2EBE#5C2EBE

#5C2EBE is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.207 H 290.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#5C2EBE
RGBrgb(92, 46, 190)
HSLhsl(259, 61%, 46%)
HSVhsv(259, 76%, 75%)
CMYKcmyk(51.6%, 75.8%, 0%, 25.5%)
CIE-LABlab(33.87, 53.32, -67.76)
CIE-LCHlch(33.87, 86.23, 308.20°)
OKLaboklab(45.39% 0.0713 -0.1947)
OKLCHoklch(45.39% 0.207 290.1)
XYZxyz(14.6822, 7.9464, 49.4654)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2EBE #90BE2E
analogous
#2E48BE #5C2EBE #A42EBE
triadic
#5C2EBE #BE5C2E #2EBE5C
tetradic
#5C2EBE #BE2E48 #90BE2E #2EBEA4
square
#5C2EBE #BE2E48 #90BE2E #2EBEA4
split-complementary
#5C2EBE #BEA42E #48BE2E
monochromatic
#2C165B #44228D #5C2EBE #7D54D6 #A385E1

Accessibility & contrast

On white

8.11
#5C2EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5C2EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2EBE
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2EBE#FFFFFF#000000##FFFFFF
##5C2EBE1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C2
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#385674
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c2ebe;
/* rgb */ color: rgb(92, 46, 190);
/* oklch */ color: oklch(45.4% 0.207 290.1);
Tailwind
colors: {
  custom: {
    50: '#946cd3',
    500: '#5c2ebe',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ebe;
$custom-light: #946cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ebe",
  "rgb": {
    "r": 92,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 259.167,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45389,
    "c": 0.20738,
    "h": 290.1
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#5C2EBE
secondary
#B2CB7D
accent
#E444B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C2EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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