#5C3FD0#5C3FD0

#5C3FD0 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.2% C 0.210 H 284.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5C3FD0
RGBrgb(92, 63, 208)
HSLhsl(252, 61%, 53%)
HSVhsv(252, 70%, 82%)
CMYKcmyk(55.8%, 69.7%, 0%, 18.4%)
CIE-LABlab(38.52, 49.83, -70.64)
CIE-LCHlch(38.52, 86.45, 305.20°)
OKLaboklab(49.17% 0.0537 -0.2032)
OKLCHoklch(49.17% 0.21 284.8)
XYZxyz(17.5728, 10.3834, 60.7405)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FD0 #B3D03F
analogous
#3F6AD0 #5C3FD0 #A43FD0
triadic
#5C3FD0 #D05C3F #3FD05C
tetradic
#5C3FD0 #D03F6A #B3D03F #3FD0A4
square
#5C3FD0 #D03F6A #B3D03F #3FD0A4
split-complementary
#5C3FD0 #D0A43F #6AD03F
monochromatic
#2F1D77 #4329A9 #5C3FD0 #8670DC #AFA1E8

Accessibility & contrast

On white

6.83
#5C3FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5C3FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3FD0
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FD0#FFFFFF#000000##FFFFFF
##5C3FD01.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0056CD
Tritanopia (blue-blind)
#246583
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c3fd0;
/* rgb */ color: rgb(92, 63, 208);
/* oklch */ color: oklch(49.2% 0.210 284.8);
Tailwind
colors: {
  custom: {
    50: '#9677e0',
    500: '#5c3fd0',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fd0;
$custom-light: #9677e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fd0",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 208
  },
  "hsl": {
    "h": 252,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49169,
    "c": 0.2102,
    "h": 284.8
  },
  "luminance": 0.10384
}

Semantic roles & 50–950 ramp

primary
#5C3FD0
secondary
#C8D596
accent
#E444C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5C3FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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