#5C359A#5C359A

#5C359A is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.2% C 0.157 H 297.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#5C359A
RGBrgb(92, 53, 154)
HSLhsl(263, 49%, 41%)
HSVhsv(263, 66%, 60%)
CMYKcmyk(40.3%, 65.6%, 0%, 39.6%)
CIE-LABlab(32.16, 39.86, -49.02)
CIE-LCHlch(32.16, 63.18, 309.11°)
OKLaboklab(43.24% 0.0715 -0.1397)
OKLCHoklch(43.24% 0.157 297.1)
XYZxyz(11.5180, 7.1544, 31.3397)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C359A #739A35
analogous
#35419A #5C359A #8E359A
triadic
#5C359A #9A5C35 #359A5C
tetradic
#5C359A #9A3541 #739A35 #359A8E
square
#5C359A #9A3541 #739A35 #359A8E
split-complementary
#5C359A #9A8E35 #419A35
monochromatic
#26163F #41256C #5C359A #794BC1 #9B79D1

Accessibility & contrast

On white

8.64
#5C359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5C359A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C359A
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C359A#FFFFFF#000000##FFFFFF
##5C359A1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#4D4C62
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c359a;
/* rgb */ color: rgb(92, 53, 154);
/* oklch */ color: oklch(43.2% 0.157 297.1);
Tailwind
colors: {
  custom: {
    50: '#8f6fb8',
    500: '#5c359a',
    950: '#000000',
  },
}
SCSS
$custom: #5c359a;
$custom-light: #8f6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c359a",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 263.168,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4324,
    "c": 0.15697,
    "h": 297.1
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#5C359A
secondary
#9EB971
accent
#D84FA3
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5C359A

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

Preview Lab → · Contrast checker → · Palette generator →

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