#5C3CA2#5C3CA2

#5C3CA2 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.9% C 0.157 H 293.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5C3CA2
RGBrgb(92, 60, 162)
HSLhsl(259, 46%, 44%)
HSVhsv(259, 63%, 64%)
CMYKcmyk(43.2%, 63%, 0%, 36.5%)
CIE-LABlab(34.22, 38.13, -50.52)
CIE-LCHlch(34.22, 63.29, 307.04°)
OKLaboklab(44.93% 0.0627 -0.1441)
OKLCHoklch(44.93% 0.157 293.5)
XYZxyz(12.5493, 8.1153, 35.0806)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CA2 #82A23C
analogous
#3C4FA2 #5C3CA2 #8F3CA2
triadic
#5C3CA2 #A25C3C #3CA25C
tetradic
#5C3CA2 #A23C4F #82A23C #3CA28F
square
#5C3CA2 #A23C4F #82A23C #3CA28F
split-complementary
#5C3CA2 #A28F3C #4FA23C
monochromatic
#291B49 #432B75 #5C3CA2 #7A59C2 #9E86D2

Accessibility & contrast

On white

8.01
#5C3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5C3CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CA2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CA2#FFFFFF#000000##FFFFFF
##5C3CA21.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#495369
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c3ca2;
/* rgb */ color: rgb(92, 60, 162);
/* oklch */ color: oklch(44.9% 0.157 293.5);
Tailwind
colors: {
  custom: {
    50: '#8f73be',
    500: '#5c3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ca2;
$custom-light: #8f73be;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ca2",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 258.824,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44925,
    "c": 0.1572,
    "h": 293.5
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#5C3CA2
secondary
#A9BC7D
accent
#D652AC
background
#F9F7FB
surface
#F1EDF7
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5C3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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