#5D2993#5D2993

#5D2993 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.165 H 302.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#5D2993
RGBrgb(93, 41, 147)
HSLhsl(269, 56%, 37%)
HSVhsv(269, 72%, 58%)
CMYKcmyk(36.7%, 72.1%, 0%, 42.4%)
CIE-LABlab(29.46, 44.51, -49.11)
CIE-LCHlch(29.46, 66.27, 312.19°)
OKLaboklab(41.17% 0.0873 -0.1399)
OKLCHoklch(41.17% 0.165 302)
XYZxyz(10.5723, 6.0196, 28.2030)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2993 #5F9329
analogous
#292A93 #5D2993 #922993
triadic
#5D2993 #935D29 #29935D
tetradic
#5D2993 #93292A #5F9329 #299392
square
#5D2993 #93292A #5F9329 #299392
split-complementary
#5D2993 #939229 #2A9329
monochromatic
#200E33 #3F1C63 #5D2993 #7B36C3 #9A63D3

Accessibility & contrast

On white

9.53
#5D2993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5D2993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2993
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2993#FFFFFF#000000##FFFFFF
##5D29931.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#52425B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d2993;
/* rgb */ color: rgb(93, 41, 147);
/* oklch */ color: oklch(41.2% 0.165 302.0);
Tailwind
colors: {
  custom: {
    50: '#9067b3',
    500: '#5d2993',
    950: '#000000',
  },
}
SCSS
$custom: #5d2993;
$custom-light: #9067b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2993",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 269.434,
    "s": 56.383,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41167,
    "c": 0.16488,
    "h": 302
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#5D2993
secondary
#8DB95E
accent
#E04895
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2993

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

Preview Lab → · Contrast checker → · Palette generator →

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