#5C348E#5C348E

#5C348E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.2% C 0.144 H 300.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#5C348E
RGBrgb(92, 52, 142)
HSLhsl(267, 46%, 38%)
HSVhsv(267, 63%, 56%)
CMYKcmyk(35.2%, 63.4%, 0%, 44.3%)
CIE-LABlab(31.08, 37.17, -43.42)
CIE-LCHlch(31.08, 57.16, 310.56°)
OKLaboklab(42.18% 0.0737 -0.1233)
OKLCHoklch(42.18% 0.144 300.9)
XYZxyz(10.5229, 6.6842, 26.3217)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C348E #668E34
analogous
#34398E #5C348E #89348E
triadic
#5C348E #8E5C34 #348E5C
tetradic
#5C348E #8E3439 #668E34 #348E89
square
#5C348E #8E3439 #668E34 #348E89
split-complementary
#5C348E #8E8934 #398E34
monochromatic
#221334 #3F2461 #5C348E #7944BB #9971CB

Accessibility & contrast

On white

8.99
#5C348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5C348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C348E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C348E#FFFFFF#000000##FFFFFF
##5C348E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#14498C
Tritanopia (blue-blind)
#52475C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c348e;
/* rgb */ color: rgb(92, 52, 142);
/* oklch */ color: oklch(42.2% 0.144 300.9);
Tailwind
colors: {
  custom: {
    50: '#8e6eb0',
    500: '#5c348e',
    950: '#000000',
  },
}
SCSS
$custom: #5c348e;
$custom-light: #8e6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c348e",
  "rgb": {
    "r": 92,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 266.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42182,
    "c": 0.1436,
    "h": 300.9
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#5C348E
secondary
#93B36A
accent
#D6529B
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #5C348E

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

Preview Lab → · Contrast checker → · Palette generator →

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