#5C2EBF#5C2EBF

#5C2EBF is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.208 H 289.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5C2EBF
RGBrgb(92, 46, 191)
HSLhsl(259, 61%, 46%)
HSVhsv(259, 76%, 75%)
CMYKcmyk(51.8%, 75.9%, 0%, 25.1%)
CIE-LABlab(33.96, 53.59, -68.20)
CIE-LCHlch(33.96, 86.74, 308.16°)
OKLaboklab(45.48% 0.071 -0.196)
OKLCHoklch(45.48% 0.208 289.9)
XYZxyz(14.7919, 7.9902, 50.0430)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2EBF #91BF2E
analogous
#2E49BF #5C2EBF #A42EBF
triadic
#5C2EBF #BF5C2E #2EBF5C
tetradic
#5C2EBF #BF2E49 #91BF2E #2EBFA4
square
#5C2EBF #BF2E49 #91BF2E #2EBFA4
split-complementary
#5C2EBF #BFA42E #49BF2E
monochromatic
#2C165C #44228E #5C2EBF #7D54D6 #A386E2

Accessibility & contrast

On white

8.08
#5C2EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5C2EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2EBF
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2EBF#FFFFFF#000000##FFFFFF
##5C2EBF1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#385675
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c2ebf;
/* rgb */ color: rgb(92, 46, 191);
/* oklch */ color: oklch(45.5% 0.208 289.9);
Tailwind
colors: {
  custom: {
    50: '#946cd3',
    500: '#5c2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ebf;
$custom-light: #946cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ebf",
  "rgb": {
    "r": 92,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 259.034,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45481,
    "c": 0.20849,
    "h": 289.9
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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