#5C359B#5C359B

#5C359B is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.3% C 0.158 H 296.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#5C359B
RGBrgb(92, 53, 155)
HSLhsl(263, 49%, 41%)
HSVhsv(263, 66%, 61%)
CMYKcmyk(40.6%, 65.8%, 0%, 39.2%)
CIE-LABlab(32.23, 40.13, -49.51)
CIE-LCHlch(32.23, 63.73, 309.03°)
OKLaboklab(43.32% 0.0714 -0.1412)
OKLCHoklch(43.32% 0.158 296.8)
XYZxyz(11.6016, 7.1879, 31.7801)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C359B #749B35
analogous
#35419B #5C359B #8F359B
triadic
#5C359B #9B5C35 #359B5C
tetradic
#5C359B #9B3541 #749B35 #359B8F
square
#5C359B #9B3541 #749B35 #359B8F
split-complementary
#5C359B #9B8F35 #419B35
monochromatic
#261640 #41256D #5C359B #794CC2 #9B79D1

Accessibility & contrast

On white

8.62
#5C359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5C359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C359B
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C359B#FFFFFF#000000##FFFFFF
##5C359B1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#4C4C63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c359b;
/* rgb */ color: rgb(92, 53, 155);
/* oklch */ color: oklch(43.3% 0.158 296.8);
Tailwind
colors: {
  custom: {
    50: '#8f6fb9',
    500: '#5c359b',
    950: '#000000',
  },
}
SCSS
$custom: #5c359b;
$custom-light: #8f6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c359b",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 262.941,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43318,
    "c": 0.1582,
    "h": 296.8
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#5C359B
secondary
#9EBA72
accent
#D94FA4
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5C359B

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

Preview Lab → · Contrast checker → · Palette generator →

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