#5C357E#5C357E

#5C357E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.2% C 0.122 H 306.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#5C357E
RGBrgb(92, 53, 126)
HSLhsl(272, 41%, 35%)
HSVhsv(272, 58%, 49%)
CMYKcmyk(27%, 57.9%, 0%, 50.6%)
CIE-LABlab(30.23, 32.40, -34.85)
CIE-LCHlch(30.23, 47.59, 312.91°)
OKLaboklab(41.22% 0.0725 -0.0981)
OKLCHoklch(41.22% 0.122 306.5)
XYZxyz(9.4518, 6.3280, 20.4581)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C357E #577E35
analogous
#38357E #5C357E #7E357B
triadic
#5C357E #7E5C35 #357E5C
tetradic
#5C357E #7E3835 #577E35 #357B7E
square
#5C357E #7E3835 #577E35 #357B7E
split-complementary
#5C357E #7B7E35 #357E38
monochromatic
#1D1128 #3D2353 #5C357E #7B47A9 #9A6CC1

Accessibility & contrast

On white

9.27
#5C357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5C357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C357E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C357E#FFFFFF#000000##FFFFFF
##5C357E1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4680
Deuteranopia (green-blind)
#29477C
Tritanopia (blue-blind)
#574354
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5c357e;
/* rgb */ color: rgb(92, 53, 126);
/* oklch */ color: oklch(41.2% 0.122 306.5);
Tailwind
colors: {
  custom: {
    50: '#8c6ea4',
    500: '#5c357e',
    950: '#000000',
  },
}
SCSS
$custom: #5c357e;
$custom-light: #8c6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c357e",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 272.055,
    "s": 40.782,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41217,
    "c": 0.12199,
    "h": 306.5
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#5C357E
secondary
#85AA65
accent
#D15790
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #5C357E

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

Preview Lab → · Contrast checker → · Palette generator →

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