#5D3583#5D3583

#5D3583 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.7% C 0.129 H 305.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#5D3583
RGBrgb(93, 53, 131)
HSLhsl(271, 42%, 36%)
HSVhsv(271, 60%, 51%)
CMYKcmyk(29%, 59.5%, 0%, 48.6%)
CIE-LABlab(30.67, 33.96, -37.26)
CIE-LCHlch(30.67, 50.41, 312.35°)
OKLaboklab(41.67% 0.074 -0.1051)
OKLCHoklch(41.67% 0.129 305.1)
XYZxyz(9.8832, 6.5121, 22.2046)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3583 #5B8335
analogous
#363583 #5D3583 #833582
triadic
#5D3583 #835D35 #35835D
tetradic
#5D3583 #833635 #5B8335 #358283
square
#5D3583 #833635 #5B8335 #358283
split-complementary
#5D3583 #828335 #358336
monochromatic
#1F122C #3E2357 #5D3583 #7C47AF #9A6EC4

Accessibility & contrast

On white

9.12
#5D3583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D3583
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3583#FFFFFF#000000##FFFFFF
##5D35831.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154786
Deuteranopia (green-blind)
#264881
Tritanopia (blue-blind)
#564456
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5d3583;
/* rgb */ color: rgb(93, 53, 131);
/* oklch */ color: oklch(41.7% 0.129 305.1);
Tailwind
colors: {
  custom: {
    50: '#8e6ea7',
    500: '#5d3583',
    950: '#000000',
  },
}
SCSS
$custom: #5d3583;
$custom-light: #8e6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3583",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 131
  },
  "hsl": {
    "h": 270.769,
    "s": 42.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41674,
    "c": 0.12857,
    "h": 305.1
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#5D3583
secondary
#89AD67
accent
#D25692
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #5D3583

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

Preview Lab → · Contrast checker → · Palette generator →

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