#5C358E#5C358E

#5C358E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.3% C 0.142 H 300.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#5C358E
RGBrgb(92, 53, 142)
HSLhsl(266, 46%, 38%)
HSVhsv(266, 63%, 56%)
CMYKcmyk(35.2%, 62.7%, 0%, 44.3%)
CIE-LABlab(31.29, 36.60, -43.08)
CIE-LCHlch(31.29, 56.53, 310.35°)
OKLaboklab(42.34% 0.0724 -0.1223)
OKLCHoklch(42.34% 0.142 300.6)
XYZxyz(10.5680, 6.7744, 26.3368)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C358E #678E35
analogous
#353A8E #5C358E #88358E
triadic
#5C358E #8E5C35 #358E5C
tetradic
#5C358E #8E353A #678E35 #358E88
square
#5C358E #8E353A #678E35 #358E88
split-complementary
#5C358E #8E8835 #3A8E35
monochromatic
#221435 #3F2461 #5C358E #7946BA #9973CB

Accessibility & contrast

On white

8.92
#5C358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5C358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C358E
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C358E#FFFFFF#000000##FFFFFF
##5C358E1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#16498C
Tritanopia (blue-blind)
#51485C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5c358e;
/* rgb */ color: rgb(92, 53, 142);
/* oklch */ color: oklch(42.3% 0.142 300.6);
Tailwind
colors: {
  custom: {
    50: '#8e6eb0',
    500: '#5c358e',
    950: '#000000',
  },
}
SCSS
$custom: #5c358e;
$custom-light: #8e6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c358e",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 266.292,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42335,
    "c": 0.14211,
    "h": 300.6
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#5C358E
secondary
#94B36C
accent
#D5529C
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0D0710
muted
#7D7A7F

Preview Lab

Preview with #5C358E

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

Preview Lab → · Contrast checker → · Palette generator →

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