#5D367C#5D367C

#5D367C is a dark, moderate violet. Relative luminance 0.064; OKLCH L 41.4% C 0.118 H 307.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#5D367C
RGBrgb(93, 54, 124)
HSLhsl(273, 39%, 35%)
HSVhsv(273, 56%, 49%)
CMYKcmyk(25%, 56.5%, 0%, 51.4%)
CIE-LABlab(30.45, 31.59, -33.23)
CIE-LCHlch(30.45, 45.85, 313.54°)
OKLaboklab(41.37% 0.0723 -0.0934)
OKLCHoklch(41.37% 0.118 307.8)
XYZxyz(9.4707, 6.4208, 19.8053)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D367C #557C36
analogous
#3A367C #5D367C #7C3678
triadic
#5D367C #7C5D36 #367C5D
tetradic
#5D367C #7C3A36 #557C36 #36787C
square
#5D367C #7C3A36 #557C36 #36787C
split-complementary
#5D367C #787C36 #367C3A
monochromatic
#1D1127 #3D2351 #5D367C #7D49A7 #9B6DBF

Accessibility & contrast

On white

9.19
#5D367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5D367C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D367C
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D367C#FFFFFF#000000##FFFFFF
##5D367C1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467E
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#584353
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5d367c;
/* rgb */ color: rgb(93, 54, 124);
/* oklch */ color: oklch(41.4% 0.118 307.8);
Tailwind
colors: {
  custom: {
    50: '#8d6fa2',
    500: '#5d367c',
    950: '#000000',
  },
}
SCSS
$custom: #5d367c;
$custom-light: #8d6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d367c",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 273.429,
    "s": 39.326,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41371,
    "c": 0.11811,
    "h": 307.8
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#5D367C
secondary
#83A866
accent
#CF598D
background
#F8F6FA
surface
#F0ECF3
border
#CBC7CD
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #5D367C

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

Preview Lab → · Contrast checker → · Palette generator →

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