#5C3FD9#5C3FD9

#5C3FD9 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.0% C 0.221 H 283.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5C3FD9
RGBrgb(92, 63, 217)
HSLhsl(251, 67%, 55%)
HSVhsv(251, 71%, 85%)
CMYKcmyk(57.6%, 71%, 0%, 14.9%)
CIE-LABlab(39.31, 52.47, -74.53)
CIE-LCHlch(39.31, 91.15, 305.15°)
OKLaboklab(49.97% 0.052 -0.2146)
OKLCHoklch(49.97% 0.221 283.6)
XYZxyz(18.7117, 10.8389, 66.7383)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FD9 #BCD93F
analogous
#3F6FD9 #5C3FD9 #A93FD9
triadic
#5C3FD9 #D95C3F #3FD95C
tetradic
#5C3FD9 #D93F6F #BCD93F #3FD9A9
square
#5C3FD9 #D93F6F #BCD93F #3FD9A9
split-complementary
#5C3FD9 #D9A93F #6FD93F
monochromatic
#2E1A84 #4024B7 #5C3FD9 #8772E3 #B3A5ED

Accessibility & contrast

On white

6.63
#5C3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5C3FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3FD9
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FD9#FFFFFF#000000##FFFFFF
##5C3FD91.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0057D6
Tritanopia (blue-blind)
#136988
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5c3fd9;
/* rgb */ color: rgb(92, 63, 217);
/* oklch */ color: oklch(50.0% 0.221 283.6);
Tailwind
colors: {
  custom: {
    50: '#9777e6',
    500: '#5c3fd9',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fd9;
$custom-light: #9777e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fd9",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 251.299,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.4997,
    "c": 0.22085,
    "h": 283.6
  },
  "luminance": 0.1084
}

Semantic roles & 50–950 ramp

primary
#5C3FD9
secondary
#CEDA9A
accent
#EA3EC9
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C3FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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