#5D368F#5D368F

#5D368F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.7% C 0.142 H 300.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#5D368F
RGBrgb(93, 54, 143)
HSLhsl(266, 45%, 39%)
HSVhsv(266, 62%, 56%)
CMYKcmyk(35%, 62.2%, 0%, 43.9%)
CIE-LABlab(31.69, 36.54, -43.04)
CIE-LCHlch(31.69, 56.46, 310.33°)
OKLaboklab(42.68% 0.0725 -0.1221)
OKLCHoklch(42.68% 0.142 300.7)
XYZxyz(10.7901, 6.9486, 26.7540)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D368F #688F36
analogous
#363B8F #5D368F #89368F
triadic
#5D368F #8F5D36 #368F5D
tetradic
#5D368F #8F363B #688F36 #368F89
square
#5D368F #8F363B #688F36 #368F89
split-complementary
#5D368F #8F8936 #3B8F36
monochromatic
#231436 #402563 #5D368F #7A48BA #9A75CB

Accessibility & contrast

On white

8.79
#5D368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5D368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D368F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D368F#FFFFFF#000000##FFFFFF
##5D368F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#53495D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5d368f;
/* rgb */ color: rgb(93, 54, 143);
/* oklch */ color: oklch(42.7% 0.142 300.7);
Tailwind
colors: {
  custom: {
    50: '#8f6fb0',
    500: '#5d368f',
    950: '#000000',
  },
}
SCSS
$custom: #5d368f;
$custom-light: #8f6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d368f",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 266.292,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.14203,
    "h": 300.7
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#5D368F
secondary
#95B36D
accent
#D5539C
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5D368F

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

Preview Lab → · Contrast checker → · Palette generator →

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