#5C3FDF#5C3FDF

#5C3FDF is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.5% C 0.228 H 282.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5C3FDF
RGBrgb(92, 63, 223)
HSLhsl(251, 71%, 56%)
HSVhsv(251, 72%, 87%)
CMYKcmyk(58.7%, 71.7%, 0%, 12.5%)
CIE-LABlab(39.84, 54.22, -77.09)
CIE-LCHlch(39.84, 94.25, 305.12°)
OKLaboklab(50.51% 0.0507 -0.2221)
OKLCHoklch(50.51% 0.228 282.9)
XYZxyz(19.5063, 11.1567, 70.9233)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FDF #C2DF3F
analogous
#3F72DF #5C3FDF #AC3FDF
triadic
#5C3FDF #DF5C3F #3FDF5C
tetradic
#5C3FDF #DF3F72 #C2DF3F #3FDFAC
square
#5C3FDF #DF3F72 #C2DF3F #3FDFAC
split-complementary
#5C3FDF #DFAC3F #72DF3F
monochromatic
#2D178C #3D20C1 #5C3FDF #8973E8 #B5A8F0

Accessibility & contrast

On white

6.50
#5C3FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5C3FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3FDF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FDF#FFFFFF#000000##FFFFFF
##5C3FDF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E4
Deuteranopia (green-blind)
#0058DC
Tritanopia (blue-blind)
#006B8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5c3fdf;
/* rgb */ color: rgb(92, 63, 223);
/* oklch */ color: oklch(50.5% 0.228 282.9);
Tailwind
colors: {
  custom: {
    50: '#9877ea',
    500: '#5c3fdf',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fdf;
$custom-light: #9877ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fdf",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 223
  },
  "hsl": {
    "h": 250.875,
    "s": 71.429,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50513,
    "c": 0.22785,
    "h": 282.9
  },
  "luminance": 0.11158
}

Semantic roles & 50–950 ramp

primary
#5C3FDF
secondary
#D2DE9C
accent
#EE3ACD
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C3FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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