#5D357C#5D357C

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

Color values

HEX#5D357C
RGBrgb(93, 53, 124)
HSLhsl(274, 40%, 35%)
HSVhsv(274, 57%, 49%)
CMYKcmyk(25%, 57.3%, 0%, 51.4%)
CIE-LABlab(30.23, 32.17, -33.59)
CIE-LCHlch(30.23, 46.51, 313.77°)
OKLaboklab(41.21% 0.0738 -0.0944)
OKLCHoklch(41.21% 0.12 308)
XYZxyz(9.4247, 6.3287, 19.7899)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D357C #547C35
analogous
#3A357C #5D357C #7C3578
triadic
#5D357C #7C5D35 #357C5D
tetradic
#5D357C #7C3A35 #547C35 #35787C
square
#5D357C #7C3A35 #547C35 #35787C
split-complementary
#5D357C #787C35 #357C3A
monochromatic
#1D1026 #3D2351 #5D357C #7D47A7 #9B6BC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D357C#FFFFFF#000000##FFFFFF
##5D357C1.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)
#1E467E
Deuteranopia (green-blind)
#2C487A
Tritanopia (blue-blind)
#584253
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5d357c;
/* rgb */ color: rgb(93, 53, 124);
/* oklch */ color: oklch(41.2% 0.120 308.0);
Tailwind
colors: {
  custom: {
    50: '#8d6ea2',
    500: '#5d357c',
    950: '#000000',
  },
}
SCSS
$custom: #5d357c;
$custom-light: #8d6ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d357c",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 124
  },
  "hsl": {
    "h": 273.803,
    "s": 40.113,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41207,
    "c": 0.1198,
    "h": 308
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#5D357C
secondary
#82A865
accent
#D0588C
background
#F8F6FA
surface
#F0ECF3
border
#CBC7CD
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #5D357C

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

Preview Lab → · Contrast checker → · Palette generator →

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