#5C358B#5C358B

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

Color values

HEX#5C358B
RGBrgb(92, 53, 139)
HSLhsl(267, 45%, 38%)
HSVhsv(267, 62%, 55%)
CMYKcmyk(33.8%, 61.9%, 0%, 45.5%)
CIE-LABlab(31.08, 35.80, -41.57)
CIE-LCHlch(31.08, 54.86, 310.74°)
OKLaboklab(42.12% 0.0725 -0.1178)
OKLCHoklch(42.12% 0.138 301.6)
XYZxyz(10.3458, 6.6856, 25.1665)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C358B #648B35
analogous
#35398B #5C358B #87358B
triadic
#5C358B #8B5C35 #358B5C
tetradic
#5C358B #8B3539 #648B35 #358B87
square
#5C358B #8B3539 #648B35 #358B87
split-complementary
#5C358B #8B8735 #398B35
monochromatic
#211332 #3F245F #5C358B #7946B7 #9971C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C358B#FFFFFF#000000##FFFFFF
##5C358B1.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)
#03498E
Deuteranopia (green-blind)
#1B4989
Tritanopia (blue-blind)
#53475B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c358b;
/* rgb */ color: rgb(92, 53, 139);
/* oklch */ color: oklch(42.1% 0.138 301.6);
Tailwind
colors: {
  custom: {
    50: '#8e6ead',
    500: '#5c358b',
    950: '#000000',
  },
}
SCSS
$custom: #5c358b;
$custom-light: #8e6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#5c358b",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 267.209,
    "s": 44.792,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42118,
    "c": 0.13835,
    "h": 301.6
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

primary
#5C358B
secondary
#91B16A
accent
#D4539A
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0D0710
muted
#7D7A7F

Preview Lab

Preview with #5C358B

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

Preview Lab → · Contrast checker → · Palette generator →

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