#5C358D#5C358D

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

Color values

HEX#5C358D
RGBrgb(92, 53, 141)
HSLhsl(267, 45%, 38%)
HSVhsv(267, 62%, 55%)
CMYKcmyk(34.8%, 62.4%, 0%, 44.7%)
CIE-LABlab(31.22, 36.34, -42.58)
CIE-LCHlch(31.22, 55.98, 310.48°)
OKLaboklab(42.26% 0.0725 -0.1208)
OKLCHoklch(42.26% 0.141 301)
XYZxyz(10.4933, 6.7445, 25.9431)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C358D #668D35
analogous
#353A8D #5C358D #88358D
triadic
#5C358D #8D5C35 #358D5C
tetradic
#5C358D #8D353A #668D35 #358D88
square
#5C358D #8D353A #668D35 #358D88
split-complementary
#5C358D #8D8835 #3A8D35
monochromatic
#221434 #3F2461 #5C358D #7946B9 #9972CA

Accessibility & contrast

On white

8.94
#5C358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5C358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C358D
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C358D#FFFFFF#000000##FFFFFF
##5C358D1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#18498B
Tritanopia (blue-blind)
#52485C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c358d;
/* rgb */ color: rgb(92, 53, 141);
/* oklch */ color: oklch(42.3% 0.141 301.0);
Tailwind
colors: {
  custom: {
    50: '#8e6eaf',
    500: '#5c358d',
    950: '#000000',
  },
}
SCSS
$custom: #5c358d;
$custom-light: #8e6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c358d",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 266.591,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42262,
    "c": 0.14086,
    "h": 301
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#5C358D
secondary
#93B26B
accent
#D5539B
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0D0710
muted
#7D7A7F

Preview Lab

Preview with #5C358D

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

Preview Lab → · Contrast checker → · Palette generator →

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