#5D3085#5D3085

#5D3085 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.139 H 305.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#5D3085
RGBrgb(93, 48, 133)
HSLhsl(272, 47%, 35%)
HSVhsv(272, 64%, 52%)
CMYKcmyk(30.1%, 63.9%, 0%, 47.8%)
CIE-LABlab(29.75, 37.29, -39.98)
CIE-LCHlch(29.75, 54.67, 313.01°)
OKLaboklab(41.05% 0.0806 -0.1131)
OKLCHoklch(41.05% 0.139 305.5)
XYZxyz(9.8039, 6.1346, 22.8534)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3085 #588530
analogous
#333085 #5D3085 #853082
triadic
#5D3085 #855D30 #30855D
tetradic
#5D3085 #853330 #588530 #308285
square
#5D3085 #853330 #588530 #308285
split-complementary
#5D3085 #828530 #308533
monochromatic
#1E102B #3E2058 #5D3085 #7C40B2 #9B67C8

Accessibility & contrast

On white

9.43
#5D3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5D3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3085
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3085#FFFFFF#000000##FFFFFF
##5D30851.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#1D4683
Tritanopia (blue-blind)
#564156
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d3085;
/* rgb */ color: rgb(93, 48, 133);
/* oklch */ color: oklch(41.0% 0.139 305.5);
Tailwind
colors: {
  custom: {
    50: '#8e6ba9',
    500: '#5d3085',
    950: '#000000',
  },
}
SCSS
$custom: #5d3085;
$custom-light: #8e6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3085",
  "rgb": {
    "r": 93,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 271.765,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41046,
    "c": 0.1389,
    "h": 305.5
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#5D3085
secondary
#86AF61
accent
#D75190
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0710
muted
#7D7A7F

Preview Lab

Preview with #5D3085

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

Preview Lab → · Contrast checker → · Palette generator →

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