#5C3FA8#5C3FA8

#5C3FA8 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.9% C 0.161 H 291.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5C3FA8
RGBrgb(92, 63, 168)
HSLhsl(257, 45%, 45%)
HSVhsv(257, 63%, 66%)
CMYKcmyk(45.2%, 62.5%, 0%, 34.1%)
CIE-LABlab(35.32, 38.12, -52.35)
CIE-LCHlch(35.32, 64.76, 306.06°)
OKLaboklab(45.86% 0.0589 -0.1495)
OKLCHoklch(45.86% 0.161 291.5)
XYZxyz(13.2571, 8.6570, 38.0107)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FA8 #8BA83F
analogous
#3F57A8 #5C3FA8 #903FA8
triadic
#5C3FA8 #A85C3F #3FA85C
tetradic
#5C3FA8 #A83F57 #8BA83F #3FA890
square
#5C3FA8 #A83F57 #8BA83F #3FA890
split-complementary
#5C3FA8 #A8903F #57A83F
monochromatic
#2B1E4F #442E7B #5C3FA8 #7C61C4 #A18DD4

Accessibility & contrast

On white

7.69
#5C3FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5C3FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3FA8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FA8#FFFFFF#000000##FFFFFF
##5C3FA81.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#46576D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c3fa8;
/* rgb */ color: rgb(92, 63, 168);
/* oklch */ color: oklch(45.9% 0.161 291.5);
Tailwind
colors: {
  custom: {
    50: '#9075c3',
    500: '#5c3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fa8;
$custom-light: #9075c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fa8",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 256.571,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4586,
    "c": 0.16069,
    "h": 291.5
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#5C3FA8
secondary
#AFBF84
accent
#D553B1
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5C3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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