#5C3BCF#5C3BCF

#5C3BCF is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.5% C 0.213 H 285.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5C3BCF
RGBrgb(92, 59, 207)
HSLhsl(253, 61%, 52%)
HSVhsv(253, 71%, 81%)
CMYKcmyk(55.6%, 71.5%, 0%, 18.8%)
CIE-LABlab(37.68, 51.66, -71.45)
CIE-LCHlch(37.68, 88.16, 305.87°)
OKLaboklab(48.54% 0.0571 -0.2056)
OKLCHoklch(48.54% 0.213 285.5)
XYZxyz(17.2367, 9.9072, 60.0234)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3BCF #AECF3B
analogous
#3B64CF #5C3BCF #A63BCF
triadic
#5C3BCF #CF5C3B #3BCF5C
tetradic
#5C3BCF #CF3B64 #AECF3B #3BCFA6
square
#5C3BCF #CF3B64 #AECF3B #3BCFA6
split-complementary
#5C3BCF #CFA63B #64CF3B
monochromatic
#301C73 #4428A5 #5C3BCF #856CDB #AE9DE7

Accessibility & contrast

On white

7.04
#5C3BCF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5C3BCF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3BCF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3BCF#FFFFFF#000000##FFFFFF
##5C3BCF1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#266381
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3bcf;
/* rgb */ color: rgb(92, 59, 207);
/* oklch */ color: oklch(48.5% 0.213 285.5);
Tailwind
colors: {
  custom: {
    50: '#9674df',
    500: '#5c3bcf',
    950: '#000000',
  },
}
SCSS
$custom: #5c3bcf;
$custom-light: #9674df;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3bcf",
  "rgb": {
    "r": 92,
    "g": 59,
    "b": 207
  },
  "hsl": {
    "h": 253.378,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4854,
    "c": 0.21338,
    "h": 285.5
  },
  "luminance": 0.09908
}

Semantic roles & 50–950 ramp

primary
#5C3BCF
secondary
#C5D393
accent
#E444C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C3BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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