#5D2483#5D2483

#5D2483 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.154 H 308.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#5D2483
RGBrgb(93, 36, 131)
HSLhsl(276, 57%, 33%)
HSVhsv(276, 73%, 51%)
CMYKcmyk(29%, 72.5%, 0%, 48.6%)
CIE-LABlab(27.37, 42.96, -42.56)
CIE-LCHlch(27.37, 60.47, 315.27°)
OKLaboklab(39.29% 0.0953 -0.1206)
OKLCHoklch(39.29% 0.154 308.3)
XYZxyz(9.2410, 5.2277, 21.9906)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2483 #4A8324
analogous
#2E2483 #5D2483 #832479
triadic
#5D2483 #835D24 #24835D
tetradic
#5D2483 #832E24 #4A8324 #247983
square
#5D2483 #832E24 #4A8324 #247983
split-complementary
#5D2483 #798324 #24832E
monochromatic
#190A23 #3B1753 #5D2483 #7F31B3 #9D52CF

Accessibility & contrast

On white

10.27
#5D2483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5D2483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2483
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2483#FFFFFF#000000##FFFFFF
##5D24831.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#0C4181
Tritanopia (blue-blind)
#573951
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5d2483;
/* rgb */ color: rgb(93, 36, 131);
/* oklch */ color: oklch(39.3% 0.154 308.3);
Tailwind
colors: {
  custom: {
    50: '#8f64a8',
    500: '#5d2483',
    950: '#000000',
  },
}
SCSS
$custom: #5d2483;
$custom-light: #8f64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2483",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 276,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39293,
    "c": 0.15371,
    "h": 308.3
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

primary
#5D2483
secondary
#77B34F
accent
#E04885
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5D2483

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

Preview Lab → · Contrast checker → · Palette generator →

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