#5D2983#5D2983

#5D2983 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.147 H 307.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#5D2983
RGBrgb(93, 41, 131)
HSLhsl(275, 52%, 34%)
HSVhsv(275, 69%, 51%)
CMYKcmyk(29%, 68.7%, 0%, 48.6%)
CIE-LABlab(28.25, 40.50, -41.14)
CIE-LCHlch(28.25, 57.73, 314.55°)
OKLaboklab(39.92% 0.0895 -0.1165)
OKLCHoklch(39.92% 0.147 307.5)
XYZxyz(9.4030, 5.5519, 22.0446)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2983 #4F8329
analogous
#302983 #5D2983 #83297C
triadic
#5D2983 #835D29 #29835D
tetradic
#5D2983 #833029 #4F8329 #297C83
square
#5D2983 #833029 #4F8329 #297C83
split-complementary
#5D2983 #7C8329 #298330
monochromatic
#1B0C26 #3C1A54 #5D2983 #7E38B2 #9C5BCC

Accessibility & contrast

On white

9.95
#5D2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#5D2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2983
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2983#FFFFFF#000000##FFFFFF
##5D29831.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#154381
Tritanopia (blue-blind)
#573C52
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5d2983;
/* rgb */ color: rgb(93, 41, 131);
/* oklch */ color: oklch(39.9% 0.147 307.5);
Tailwind
colors: {
  custom: {
    50: '#8e67a8',
    500: '#5d2983',
    950: '#000000',
  },
}
SCSS
$custom: #5d2983;
$custom-light: #8e67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2983",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 274.667,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39921,
    "c": 0.14689,
    "h": 307.5
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#5D2983
secondary
#7DB157
accent
#DC4C89
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5D2983

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

Preview Lab → · Contrast checker → · Palette generator →

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