#5D2383#5D2383

#5D2383 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.155 H 308.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#5D2383
RGBrgb(93, 35, 131)
HSLhsl(276, 58%, 33%)
HSVhsv(276, 73%, 51%)
CMYKcmyk(29%, 73.3%, 0%, 48.6%)
CIE-LABlab(27.21, 43.42, -42.83)
CIE-LCHlch(27.21, 60.99, 315.39°)
OKLaboklab(39.17% 0.0964 -0.1214)
OKLCHoklch(39.17% 0.155 308.4)
XYZxyz(9.2111, 5.1681, 21.9806)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2383 #498323
analogous
#2D2383 #5D2383 #832379
triadic
#5D2383 #835D23 #23835D
tetradic
#5D2383 #832D23 #498323 #237983
square
#5D2383 #832D23 #498323 #237983
split-complementary
#5D2383 #798323 #23832D
monochromatic
#180922 #3B1653 #5D2383 #7F30B3 #9E50D0

Accessibility & contrast

On white

10.33
#5D2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5D2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2383
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2383#FFFFFF#000000##FFFFFF
##5D23831.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#0A4181
Tritanopia (blue-blind)
#573950
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5d2383;
/* rgb */ color: rgb(93, 35, 131);
/* oklch */ color: oklch(39.2% 0.155 308.4);
Tailwind
colors: {
  custom: {
    50: '#8f63a8',
    500: '#5d2383',
    950: '#000000',
  },
}
SCSS
$custom: #5d2383;
$custom-light: #8f63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2383",
  "rgb": {
    "r": 93,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 276.25,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39175,
    "c": 0.155,
    "h": 308.4
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#5D2383
secondary
#76B44E
accent
#E14784
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5D2383

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

Preview Lab → · Contrast checker → · Palette generator →

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