#5C348C#5C348C

#5C348C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.0% C 0.141 H 301.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#5C348C
RGBrgb(92, 52, 140)
HSLhsl(267, 46%, 38%)
HSVhsv(267, 63%, 55%)
CMYKcmyk(34.3%, 62.9%, 0%, 45.1%)
CIE-LABlab(30.94, 36.64, -42.41)
CIE-LCHlch(30.94, 56.05, 310.82°)
OKLaboklab(42.04% 0.0738 -0.1203)
OKLCHoklch(42.04% 0.141 301.5)
XYZxyz(10.3741, 6.6247, 25.5380)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C348C #648C34
analogous
#34388C #5C348C #88348C
triadic
#5C348C #8C5C34 #348C5C
tetradic
#5C348C #8C3438 #648C34 #348C88
square
#5C348C #8C3438 #648C34 #348C88
split-complementary
#5C348C #8C8834 #388C34
monochromatic
#211333 #3F235F #5C348C #7945B9 #9970CA

Accessibility & contrast

On white

9.03
#5C348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5C348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C348C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C348C#FFFFFF#000000##FFFFFF
##5C348C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#18488A
Tritanopia (blue-blind)
#52475B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c348c;
/* rgb */ color: rgb(92, 52, 140);
/* oklch */ color: oklch(42.0% 0.141 301.5);
Tailwind
colors: {
  custom: {
    50: '#8e6eae',
    500: '#5c348c',
    950: '#000000',
  },
}
SCSS
$custom: #5c348c;
$custom-light: #8e6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#5c348c",
  "rgb": {
    "r": 92,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 267.273,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42035,
    "c": 0.14112,
    "h": 301.5
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#5C348C
secondary
#91B26A
accent
#D5529A
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0D0710
muted
#7D7A7F

Preview Lab

Preview with #5C348C

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

Preview Lab → · Contrast checker → · Palette generator →

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