#5D3B95#5D3B95

#5D3B95 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.9% C 0.142 H 297.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5D3B95
RGBrgb(93, 59, 149)
HSLhsl(263, 43%, 41%)
HSVhsv(263, 60%, 58%)
CMYKcmyk(37.6%, 60.4%, 0%, 41.6%)
CIE-LABlab(33.19, 35.29, -44.30)
CIE-LCHlch(33.19, 56.64, 308.54°)
OKLaboklab(43.9% 0.066 -0.1258)
OKLCHoklch(43.9% 0.142 297.7)
XYZxyz(11.5016, 7.6248, 29.2937)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3B95 #73953B
analogous
#3B4695 #5D3B95 #8A3B95
triadic
#5D3B95 #955D3B #3B955D
tetradic
#5D3B95 #953B46 #73953B #3B958A
square
#5D3B95 #953B46 #73953B #3B958A
split-complementary
#5D3B95 #958A3B #46953B
monochromatic
#26183D #422A69 #5D3B95 #7A53BB #9C7ECC

Accessibility & contrast

On white

8.32
#5D3B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5D3B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3B95
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3B95#FFFFFF#000000##FFFFFF
##5D3B951.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044E98
Deuteranopia (green-blind)
#184D93
Tritanopia (blue-blind)
#504E62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d3b95;
/* rgb */ color: rgb(93, 59, 149);
/* oklch */ color: oklch(43.9% 0.142 297.7);
Tailwind
colors: {
  custom: {
    50: '#8f72b5',
    500: '#5d3b95',
    950: '#000000',
  },
}
SCSS
$custom: #5d3b95;
$custom-light: #8f72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3b95",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 262.667,
    "s": 43.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.14207,
    "h": 297.7
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#5D3B95
secondary
#9EB676
accent
#D355A3
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #5D3B95

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

Preview Lab → · Contrast checker → · Palette generator →

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