#5C3CCB#5C3CCB

#5C3CCB is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.3% C 0.208 H 286.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5C3CCB
RGBrgb(92, 60, 203)
HSLhsl(253, 58%, 52%)
HSVhsv(253, 70%, 80%)
CMYKcmyk(54.7%, 70.4%, 0%, 20.4%)
CIE-LABlab(37.51, 49.97, -69.39)
CIE-LCHlch(37.51, 85.51, 305.76°)
OKLaboklab(48.32% 0.0571 -0.1996)
OKLCHoklch(48.32% 0.208 286)
XYZxyz(16.8057, 9.8179, 57.4978)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CCB #ABCB3C
analogous
#3C64CB #5C3CCB #A43CCB
triadic
#5C3CCB #CB5C3C #3CCB5C
tetradic
#5C3CCB #CB3C64 #ABCB3C #3CCBA4
square
#5C3CCB #CB3C64 #ABCB3C #3CCBA4
split-complementary
#5C3CCB #CBA43C #64CB3C
monochromatic
#301E6F #452A9F #5C3CCB #846CD8 #AD9DE5

Accessibility & contrast

On white

7.09
#5C3CCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5C3CCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CCB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CCB#FFFFFF#000000##FFFFFF
##5C3CCB1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#2B627F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c3ccb;
/* rgb */ color: rgb(92, 60, 203);
/* oklch */ color: oklch(48.3% 0.208 286.0);
Tailwind
colors: {
  custom: {
    50: '#9575dc',
    500: '#5c3ccb',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ccb;
$custom-light: #9575dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ccb",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 253.427,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48318,
    "c": 0.20758,
    "h": 286
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#5C3CCB
secondary
#C3D192
accent
#E147BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C3CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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