#5C3DA4#5C3DA4

#5C3DA4 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.2% C 0.158 H 292.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5C3DA4
RGBrgb(92, 61, 164)
HSLhsl(258, 46%, 44%)
HSVhsv(258, 63%, 64%)
CMYKcmyk(43.9%, 62.8%, 0%, 35.7%)
CIE-LABlab(34.59, 38.12, -51.13)
CIE-LCHlch(34.59, 63.78, 306.71°)
OKLaboklab(45.24% 0.0614 -0.1459)
OKLCHoklch(45.24% 0.158 292.8)
XYZxyz(12.7814, 8.2928, 36.0420)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DA4 #85A43D
analogous
#3D52A4 #5C3DA4 #903DA4
triadic
#5C3DA4 #A45C3D #3DA45C
tetradic
#5C3DA4 #A43D52 #85A43D #3DA490
square
#5C3DA4 #A43D52 #85A43D #3DA490
split-complementary
#5C3DA4 #A4903D #52A43D
monochromatic
#2A1C4B #432C77 #5C3DA4 #7B5CC2 #9F88D3

Accessibility & contrast

On white

7.90
#5C3DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5C3DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3DA4
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DA4#FFFFFF#000000##FFFFFF
##5C3DA41.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#48556B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c3da4;
/* rgb */ color: rgb(92, 61, 164);
/* oklch */ color: oklch(45.2% 0.158 292.8);
Tailwind
colors: {
  custom: {
    50: '#9074c0',
    500: '#5c3da4',
    950: '#000000',
  },
}
SCSS
$custom: #5c3da4;
$custom-light: #9074c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3da4",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 258.058,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.15835,
    "h": 292.8
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#5C3DA4
secondary
#ABBD7F
accent
#D552AE
background
#F9F7FB
surface
#F1EDF7
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5C3DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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