#5C3ECF#5C3ECF

#5C3ECF is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.9% C 0.210 H 285.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5C3ECF
RGBrgb(92, 62, 207)
HSLhsl(252, 60%, 53%)
HSVhsv(252, 70%, 81%)
CMYKcmyk(55.6%, 70%, 0%, 18.8%)
CIE-LABlab(38.24, 50.08, -70.52)
CIE-LCHlch(38.24, 86.49, 305.38°)
OKLaboklab(48.94% 0.0547 -0.2029)
OKLCHoklch(48.94% 0.21 285.1)
XYZxyz(17.3953, 10.2245, 60.0763)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ECF #B1CF3E
analogous
#3E68CF #5C3ECF #A53ECF
triadic
#5C3ECF #CF5C3E #3ECF5C
tetradic
#5C3ECF #CF3E68 #B1CF3E #3ECFA5
square
#5C3ECF #CF3E68 #B1CF3E #3ECFA5
split-complementary
#5C3ECF #CFA53E #68CF3E
monochromatic
#2F1D75 #4329A6 #5C3ECF #856FDB #AFA0E7

Accessibility & contrast

On white

6.90
#5C3ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5C3ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3ECF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ECF#FFFFFF#000000##FFFFFF
##5C3ECF1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#266482
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c3ecf;
/* rgb */ color: rgb(92, 62, 207);
/* oklch */ color: oklch(48.9% 0.210 285.1);
Tailwind
colors: {
  custom: {
    50: '#9676df',
    500: '#5c3ecf',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ecf;
$custom-light: #9676df;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ecf",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 252.414,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48943,
    "c": 0.21011,
    "h": 285.1
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#5C3ECF
secondary
#C7D495
accent
#E344C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5C3ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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