#5C3FBF#5C3FBF

#5C3FBF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.190 H 287.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5C3FBF
RGBrgb(92, 63, 191)
HSLhsl(254, 50%, 50%)
HSVhsv(254, 67%, 75%)
CMYKcmyk(51.8%, 67%, 0%, 25.1%)
CIE-LABlab(37.10, 44.84, -63.07)
CIE-LCHlch(37.10, 77.38, 305.41°)
OKLaboklab(47.71% 0.0564 -0.181)
OKLCHoklch(47.71% 0.19 287.3)
XYZxyz(15.5923, 9.5912, 50.3098)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FBF #A2BF3F
analogous
#3F62BF #5C3FBF #9C3FBF
triadic
#5C3FBF #BF5C3F #3FBF5C
tetradic
#5C3FBF #BF3F62 #A2BF3F #3FBF9C
square
#5C3FBF #BF3F62 #A2BF3F #3FBF9C
split-complementary
#5C3FBF #BF9C3F #62BF3F
monochromatic
#302163 #463091 #5C3FBF #836DCF #AA9BDE

Accessibility & contrast

On white

7.20
#5C3FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5C3FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3FBF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FBF#FFFFFF#000000##FFFFFF
##5C3FBF1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#365F7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c3fbf;
/* rgb */ color: rgb(92, 63, 191);
/* oklch */ color: oklch(47.7% 0.190 287.3);
Tailwind
colors: {
  custom: {
    50: '#9376d3',
    500: '#5c3fbf',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fbf;
$custom-light: #9376d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fbf",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 253.594,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47709,
    "c": 0.18962,
    "h": 287.3
  },
  "luminance": 0.09592
}

Semantic roles & 50–950 ramp

primary
#5C3FBF
secondary
#BDCA90
accent
#DA4EBA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5C3FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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