#5D367F#5D367F

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

Color values

HEX#5D367F
RGBrgb(93, 54, 127)
HSLhsl(272, 40%, 35%)
HSVhsv(272, 57%, 50%)
CMYKcmyk(26.8%, 57.5%, 0%, 50.2%)
CIE-LABlab(30.64, 32.35, -34.82)
CIE-LCHlch(30.64, 47.52, 312.90°)
OKLaboklab(41.57% 0.0725 -0.098)
OKLCHoklch(41.57% 0.122 306.5)
XYZxyz(9.6633, 6.4979, 20.8197)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D367F #587F36
analogous
#39367F #5D367F #7F367C
triadic
#5D367F #7F5D36 #367F5D
tetradic
#5D367F #7F3936 #587F36 #367C7F
square
#5D367F #7F3936 #587F36 #367C7F
split-complementary
#5D367F #7C7F36 #367F39
monochromatic
#1E1129 #3E2454 #5D367F #7C48AA #9B6EC1

Accessibility & contrast

On white

9.13
#5D367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5D367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D367F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D367F#FFFFFF#000000##FFFFFF
##5D367F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4781
Deuteranopia (green-blind)
#2A487D
Tritanopia (blue-blind)
#584455
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5d367f;
/* rgb */ color: rgb(93, 54, 127);
/* oklch */ color: oklch(41.6% 0.122 306.5);
Tailwind
colors: {
  custom: {
    50: '#8d6fa4',
    500: '#5d367f',
    950: '#000000',
  },
}
SCSS
$custom: #5d367f;
$custom-light: #8d6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d367f",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 272.055,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41567,
    "c": 0.12189,
    "h": 306.5
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

primary
#5D367F
secondary
#86AA67
accent
#D05890
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #5D367F

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

Preview Lab → · Contrast checker → · Palette generator →

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