#5D367E#5D367E

#5D367E is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.5% C 0.121 H 306.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#5D367E
RGBrgb(93, 54, 126)
HSLhsl(273, 40%, 35%)
HSVhsv(273, 57%, 49%)
CMYKcmyk(26.2%, 57.1%, 0%, 50.6%)
CIE-LABlab(30.57, 32.09, -34.29)
CIE-LCHlch(30.57, 46.97, 313.11°)
OKLaboklab(41.5% 0.0725 -0.0964)
OKLCHoklch(41.5% 0.121 306.9)
XYZxyz(9.5985, 6.4719, 20.4782)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D367E #577E36
analogous
#39367E #5D367E #7E367B
triadic
#5D367E #7E5D36 #367E5D
tetradic
#5D367E #7E3936 #577E36 #367B7E
square
#5D367E #7E3936 #577E36 #367B7E
split-complementary
#5D367E #7B7E36 #367E39
monochromatic
#1E1128 #3D2453 #5D367E #7D48A9 #9B6EC1

Accessibility & contrast

On white

9.15
#5D367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5D367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D367E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D367E#FFFFFF#000000##FFFFFF
##5D367E1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4780
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#584354
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5d367e;
/* rgb */ color: rgb(93, 54, 126);
/* oklch */ color: oklch(41.5% 0.121 306.9);
Tailwind
colors: {
  custom: {
    50: '#8d6fa4',
    500: '#5d367e',
    950: '#000000',
  },
}
SCSS
$custom: #5d367e;
$custom-light: #8d6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d367e",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 272.5,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41501,
    "c": 0.12063,
    "h": 306.9
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#5D367E
secondary
#85A967
accent
#D0588F
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #5D367E

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

Preview Lab → · Contrast checker → · Palette generator →

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