#5D2080#5D2080

#5D2080 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.156 H 310.0°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#5D2080
RGBrgb(93, 32, 128)
HSLhsl(278, 60%, 31%)
HSVhsv(278, 75%, 50%)
CMYKcmyk(27.3%, 75%, 0%, 49.8%)
CIE-LABlab(26.50, 44.07, -42.08)
CIE-LCHlch(26.50, 60.94, 316.32°)
OKLaboklab(38.6% 0.1001 -0.1192)
OKLCHoklch(38.6% 0.156 310)
XYZxyz(8.9262, 4.9189, 20.8971)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2080 #438020
analogous
#2D2080 #5D2080 #802073
triadic
#5D2080 #805D20 #20805D
tetradic
#5D2080 #802D20 #438020 #207380
square
#5D2080 #802D20 #438020 #207380
split-complementary
#5D2080 #738020 #20802D
monochromatic
#16081E #39144F #5D2080 #812CB1 #A049D1

Accessibility & contrast

On white

10.59
#5D2080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#5D2080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2080
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2080#FFFFFF#000000##FFFFFF
##5D20801.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#0B407E
Tritanopia (blue-blind)
#58364E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5d2080;
/* rgb */ color: rgb(93, 32, 128);
/* oklch */ color: oklch(38.6% 0.156 310.0);
Tailwind
colors: {
  custom: {
    50: '#8f62a5',
    500: '#5d2080',
    950: '#000000',
  },
}
SCSS
$custom: #5d2080;
$custom-light: #8f62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2080",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 278.125,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38601,
    "c": 0.15562,
    "h": 310
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#5D2080
secondary
#70B349
accent
#E3457E
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #5D2080

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

Preview Lab → · Contrast checker → · Palette generator →

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