#5D3D83#5D3D83

#5D3D83 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 43.0% C 0.115 H 303.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#5D3D83
RGBrgb(93, 61, 131)
HSLhsl(267, 36%, 38%)
HSVhsv(267, 53%, 51%)
CMYKcmyk(29%, 53.4%, 0%, 48.6%)
CIE-LABlab(32.49, 29.22, -34.36)
CIE-LCHlch(32.49, 45.10, 310.38°)
OKLaboklab(43.01% 0.0627 -0.0967)
OKLCHoklch(43.01% 0.115 303)
XYZxyz(10.2788, 7.3033, 22.3365)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3D83 #63833D
analogous
#3D4083 #5D3D83 #803D83
triadic
#5D3D83 #835D3D #3D835D
tetradic
#5D3D83 #833D40 #63833D #3D8380
square
#5D3D83 #833D40 #63833D #3D8380
split-complementary
#5D3D83 #83803D #40833D
monochromatic
#22162F #3F2A59 #5D3D83 #7B50AD #9A7AC1

Accessibility & contrast

On white

8.53
#5D3D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5D3D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3D83
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3D83#FFFFFF#000000##FFFFFF
##5D3D831.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C85
Deuteranopia (green-blind)
#2F4C81
Tritanopia (blue-blind)
#564A5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d3d83;
/* rgb */ color: rgb(93, 61, 131);
/* oklch */ color: oklch(43.0% 0.115 303.0);
Tailwind
colors: {
  custom: {
    50: '#8d73a7',
    500: '#5d3d83',
    950: '#000000',
  },
}
SCSS
$custom: #5d3d83;
$custom-light: #8d73a7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3d83",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 131
  },
  "hsl": {
    "h": 267.429,
    "s": 36.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43014,
    "c": 0.11523,
    "h": 303
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#5D3D83
secondary
#90AB71
accent
#CC5B99
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C080F
muted
#7D7B7F

Preview Lab

Preview with #5D3D83

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

Preview Lab → · Contrast checker → · Palette generator →

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