#5C348F#5C348F

#5C348F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.145 H 300.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#5C348F
RGBrgb(92, 52, 143)
HSLhsl(266, 47%, 38%)
HSVhsv(266, 64%, 56%)
CMYKcmyk(35.7%, 63.6%, 0%, 43.9%)
CIE-LABlab(31.15, 37.44, -43.92)
CIE-LCHlch(31.15, 57.71, 310.44°)
OKLaboklab(42.26% 0.0736 -0.1247)
OKLCHoklch(42.26% 0.145 300.5)
XYZxyz(10.5984, 6.7144, 26.7189)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C348F #678F34
analogous
#34398F #5C348F #89348F
triadic
#5C348F #8F5C34 #348F5C
tetradic
#5C348F #8F3439 #678F34 #348F89
square
#5C348F #8F3439 #678F34 #348F89
split-complementary
#5C348F #8F8934 #398F34
monochromatic
#221335 #3F2462 #5C348F #7945BB #9972CC

Accessibility & contrast

On white

8.96
#5C348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C348F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C348F#FFFFFF#000000##FFFFFF
##5C348F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#12498D
Tritanopia (blue-blind)
#51485C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c348f;
/* rgb */ color: rgb(92, 52, 143);
/* oklch */ color: oklch(42.3% 0.145 300.5);
Tailwind
colors: {
  custom: {
    50: '#8e6eb0',
    500: '#5c348f',
    950: '#000000',
  },
}
SCSS
$custom: #5c348f;
$custom-light: #8e6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c348f",
  "rgb": {
    "r": 92,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 266.374,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42256,
    "c": 0.14484,
    "h": 300.5
  },
  "luminance": 0.06714
}

Semantic roles & 50–950 ramp

primary
#5C348F
secondary
#94B46B
accent
#D6519C
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5C348F

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

Preview Lab → · Contrast checker → · Palette generator →

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