#5C3FC4#5C3FC4

#5C3FC4 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.196 H 286.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5C3FC4
RGBrgb(92, 63, 196)
HSLhsl(253, 53%, 51%)
HSVhsv(253, 68%, 77%)
CMYKcmyk(53.1%, 67.9%, 0%, 23.1%)
CIE-LABlab(37.51, 46.31, -65.32)
CIE-LCHlch(37.51, 80.07, 305.33°)
OKLaboklab(48.13% 0.0557 -0.1877)
OKLCHoklch(48.13% 0.196 286.5)
XYZxyz(16.1520, 9.8150, 53.2572)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FC4 #A7C43F
analogous
#3F64C4 #5C3FC4 #9F3FC4
triadic
#5C3FC4 #C45C3F #3FC45C
tetradic
#5C3FC4 #C43F64 #A7C43F #3FC49F
square
#5C3FC4 #C43F64 #A7C43F #3FC49F
split-complementary
#5C3FC4 #C49F3F #64C43F
monochromatic
#302068 #452E97 #5C3FC4 #846ED2 #AB9DE1

Accessibility & contrast

On white

7.09
#5C3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5C3FC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3FC4
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FC4#FFFFFF#000000##FFFFFF
##5C3FC41.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#32617C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c3fc4;
/* rgb */ color: rgb(92, 63, 196);
/* oklch */ color: oklch(48.1% 0.196 286.5);
Tailwind
colors: {
  custom: {
    50: '#9476d7',
    500: '#5c3fc4',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fc4;
$custom-light: #9476d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fc4",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 253.083,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48131,
    "c": 0.19574,
    "h": 286.5
  },
  "luminance": 0.09816
}

Semantic roles & 50–950 ramp

primary
#5C3FC4
secondary
#C0CD92
accent
#DC4BBD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5C3FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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