#5D368C#5D368C

#5D368C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.5% C 0.138 H 301.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#5D368C
RGBrgb(93, 54, 140)
HSLhsl(267, 44%, 38%)
HSVhsv(267, 61%, 55%)
CMYKcmyk(33.6%, 61.4%, 0%, 45.1%)
CIE-LABlab(31.48, 35.74, -41.53)
CIE-LCHlch(31.48, 54.79, 310.72°)
OKLaboklab(42.46% 0.0726 -0.1177)
OKLCHoklch(42.46% 0.138 301.7)
XYZxyz(10.5659, 6.8589, 25.5731)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D368C #658C36
analogous
#363A8C #5D368C #88368C
triadic
#5D368C #8C5D36 #368C5D
tetradic
#5D368C #8C363A #658C36 #368C88
square
#5D368C #8C363A #658C36 #368C88
split-complementary
#5D368C #8C8836 #3A8C36
monochromatic
#221434 #402560 #5D368C #7A47B8 #9A73C9

Accessibility & contrast

On white

8.85
#5D368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5D368C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D368C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D368C#FFFFFF#000000##FFFFFF
##5D368C1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064A8F
Deuteranopia (green-blind)
#1D4A8A
Tritanopia (blue-blind)
#54485B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5d368c;
/* rgb */ color: rgb(93, 54, 140);
/* oklch */ color: oklch(42.5% 0.138 301.7);
Tailwind
colors: {
  custom: {
    50: '#8e6fae',
    500: '#5d368c',
    950: '#000000',
  },
}
SCSS
$custom: #5d368c;
$custom-light: #8e6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#5d368c",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 267.209,
    "s": 44.33,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42461,
    "c": 0.13827,
    "h": 301.7
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#5D368C
secondary
#92B26C
accent
#D4549A
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #5D368C

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

Preview Lab → · Contrast checker → · Palette generator →

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