#5C3FB3#5C3FB3

#5C3FB3 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.7% C 0.175 H 289.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5C3FB3
RGBrgb(92, 63, 179)
HSLhsl(255, 48%, 47%)
HSVhsv(255, 65%, 70%)
CMYKcmyk(48.6%, 64.8%, 0%, 29.8%)
CIE-LABlab(36.15, 41.32, -57.55)
CIE-LCHlch(36.15, 70.85, 305.68°)
OKLaboklab(46.73% 0.0579 -0.1648)
OKLCHoklch(46.73% 0.175 289.4)
XYZxyz(14.3255, 9.0844, 43.6377)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FB3 #96B33F
analogous
#3F5CB3 #5C3FB3 #963FB3
triadic
#5C3FB3 #B35C3F #3FB35C
tetradic
#5C3FB3 #B33F5C #96B33F #3FB396
square
#5C3FB3 #B33F5C #96B33F #3FB396
split-complementary
#5C3FB3 #B3963F #5CB33F
monochromatic
#2D1F58 #452F86 #5C3FB3 #7F66C9 #A593D9

Accessibility & contrast

On white

7.45
#5C3FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5C3FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3FB3
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FB3#FFFFFF#000000##FFFFFF
##5C3FB31.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#3F5B73
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c3fb3;
/* rgb */ color: rgb(92, 63, 179);
/* oklch */ color: oklch(46.7% 0.175 289.4);
Tailwind
colors: {
  custom: {
    50: '#9176cb',
    500: '#5c3fb3',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fb3;
$custom-light: #9176cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fb3",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 255,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46725,
    "c": 0.17469,
    "h": 289.4
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#5C3FB3
secondary
#B6C489
accent
#D850B6
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5C3FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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