#5C3FD3#5C3FD3

#5C3FD3 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.4% C 0.214 H 284.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5C3FD3
RGBrgb(92, 63, 211)
HSLhsl(252, 63%, 54%)
HSVhsv(252, 70%, 83%)
CMYKcmyk(56.4%, 70.1%, 0%, 17.3%)
CIE-LABlab(38.78, 50.71, -71.94)
CIE-LCHlch(38.78, 88.02, 305.18°)
OKLaboklab(49.43% 0.0531 -0.2071)
OKLCHoklch(49.43% 0.214 284.4)
XYZxyz(17.9454, 10.5324, 62.7027)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FD3 #B6D33F
analogous
#3F6CD3 #5C3FD3 #A63FD3
triadic
#5C3FD3 #D35C3F #3FD35C
tetradic
#5C3FD3 #D33F6C #B6D33F #3FD3A6
square
#5C3FD3 #D33F6C #B6D33F #3FD3A6
split-complementary
#5C3FD3 #D3A63F #6CD33F
monochromatic
#2F1C7B #4228AD #5C3FD3 #8671DE #B1A3EA

Accessibility & contrast

On white

6.76
#5C3FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5C3FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3FD3
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FD3#FFFFFF#000000##FFFFFF
##5C3FD31.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0057D0
Tritanopia (blue-blind)
#206685
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c3fd3;
/* rgb */ color: rgb(92, 63, 211);
/* oklch */ color: oklch(49.4% 0.214 284.4);
Tailwind
colors: {
  custom: {
    50: '#9677e2',
    500: '#5c3fd3',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fd3;
$custom-light: #9677e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fd3",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 211
  },
  "hsl": {
    "h": 251.757,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49434,
    "c": 0.21377,
    "h": 284.4
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#5C3FD3
secondary
#CAD797
accent
#E642C6
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0915
muted
#7E7B84

Preview Lab

Preview with #5C3FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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