#5D367A#5D367A

#5D367A is a dark, moderate violet. Relative luminance 0.064; OKLCH L 41.2% C 0.116 H 308.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#5D367A
RGBrgb(93, 54, 122)
HSLhsl(274, 39%, 35%)
HSVhsv(274, 56%, 48%)
CMYKcmyk(23.8%, 55.7%, 0%, 52.2%)
CIE-LABlab(30.33, 31.08, -32.17)
CIE-LCHlch(30.33, 44.73, 314.01°)
OKLaboklab(41.24% 0.0722 -0.0902)
OKLCHoklch(41.24% 0.116 308.7)
XYZxyz(9.3455, 6.3708, 19.1459)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D367A #537A36
analogous
#3B367A #5D367A #7A3675
triadic
#5D367A #7A5D36 #367A5D
tetradic
#5D367A #7A3B36 #537A36 #36757A
square
#5D367A #7A3B36 #537A36 #36757A
split-complementary
#5D367A #757A36 #367A3B
monochromatic
#1C1025 #3D2350 #5D367A #7D49A4 #9B6CBE

Accessibility & contrast

On white

9.23
#5D367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D367A
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D367A#FFFFFF#000000##FFFFFF
##5D367A1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467C
Deuteranopia (green-blind)
#2E4878
Tritanopia (blue-blind)
#594252
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5d367a;
/* rgb */ color: rgb(93, 54, 122);
/* oklch */ color: oklch(41.2% 0.116 308.7);
Tailwind
colors: {
  custom: {
    50: '#8d6ea1',
    500: '#5d367a',
    950: '#000000',
  },
}
SCSS
$custom: #5d367a;
$custom-light: #8d6ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d367a",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 274.412,
    "s": 38.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41243,
    "c": 0.11558,
    "h": 308.7
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#5D367A
secondary
#81A765
accent
#CF598B
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0C070F
muted
#7D7A7E

Preview Lab

Preview with #5D367A

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

Preview Lab → · Contrast checker → · Palette generator →

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