#5C3BCA#5C3BCA

#5C3BCA is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.1% C 0.207 H 286.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5C3BCA
RGBrgb(92, 59, 202)
HSLhsl(254, 57%, 51%)
HSVhsv(254, 71%, 79%)
CMYKcmyk(54.5%, 70.8%, 0%, 20.8%)
CIE-LABlab(37.24, 50.21, -69.26)
CIE-LCHlch(37.24, 85.55, 305.94°)
OKLaboklab(48.09% 0.0581 -0.1992)
OKLCHoklch(48.09% 0.208 286.3)
XYZxyz(16.6351, 9.6666, 56.8550)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3BCA #A9CA3B
analogous
#3B61CA #5C3BCA #A33BCA
triadic
#5C3BCA #CA5C3B #3BCA5C
tetradic
#5C3BCA #CA3B61 #A9CA3B #3BCAA3
square
#5C3BCA #CA3B61 #A9CA3B #3BCAA3
split-complementary
#5C3BCA #CAA33B #61CA3B
monochromatic
#301E6D #452B9D #5C3BCA #846BD7 #AC9BE4

Accessibility & contrast

On white

7.16
#5C3BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5C3BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3BCA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3BCA#FFFFFF#000000##FFFFFF
##5C3BCA1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#2C617E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c3bca;
/* rgb */ color: rgb(92, 59, 202);
/* oklch */ color: oklch(48.1% 0.207 286.3);
Tailwind
colors: {
  custom: {
    50: '#9574db',
    500: '#5c3bca',
    950: '#000000',
  },
}
SCSS
$custom: #5c3bca;
$custom-light: #9574db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3bca",
  "rgb": {
    "r": 92,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 253.846,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48094,
    "c": 0.2075,
    "h": 286.3
  },
  "luminance": 0.09668
}

Semantic roles & 50–950 ramp

primary
#5C3BCA
secondary
#C1D091
accent
#E147BD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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