#5C3FDD#5C3FDD

#5C3FDD is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.3% C 0.226 H 283.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5C3FDD
RGBrgb(92, 63, 221)
HSLhsl(251, 70%, 56%)
HSVhsv(251, 71%, 87%)
CMYKcmyk(58.4%, 71.5%, 0%, 13.3%)
CIE-LABlab(39.66, 53.64, -76.24)
CIE-LCHlch(39.66, 93.22, 305.13°)
OKLaboklab(50.33% 0.0512 -0.2196)
OKLCHoklch(50.33% 0.226 283.1)
XYZxyz(19.2383, 11.0495, 69.5116)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FDD #C0DD3F
analogous
#3F71DD #5C3FDD #AB3FDD
triadic
#5C3FDD #DD5C3F #3FDD5C
tetradic
#5C3FDD #DD3F71 #C0DD3F #3FDDAB
square
#5C3FDD #DD3F71 #C0DD3F #3FDDAB
split-complementary
#5C3FDD #DDAB3F #71DD3F
monochromatic
#2D1889 #3E22BD #5C3FDD #8873E6 #B4A7EF

Accessibility & contrast

On white

6.54
#5C3FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5C3FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3FDD
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FDD#FFFFFF#000000##FFFFFF
##5C3FDD1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0058DA
Tritanopia (blue-blind)
#046A8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5c3fdd;
/* rgb */ color: rgb(92, 63, 221);
/* oklch */ color: oklch(50.3% 0.226 283.1);
Tailwind
colors: {
  custom: {
    50: '#9877e9',
    500: '#5c3fdd',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fdd;
$custom-light: #9877e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fdd",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 221
  },
  "hsl": {
    "h": 251.013,
    "s": 69.912,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50331,
    "c": 0.22553,
    "h": 283.1
  },
  "luminance": 0.11051
}

Semantic roles & 50–950 ramp

primary
#5C3FDD
secondary
#D1DD9B
accent
#ED3BCC
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C3FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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