#5D2E80#5D2E80

#5D2E80 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.136 H 307.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#5D2E80
RGBrgb(93, 46, 128)
HSLhsl(274, 47%, 34%)
HSVhsv(274, 64%, 50%)
CMYKcmyk(27.3%, 64.1%, 0%, 49.8%)
CIE-LABlab(29.00, 37.13, -38.05)
CIE-LCHlch(29.00, 53.17, 314.30°)
OKLaboklab(40.4% 0.0834 -0.1074)
OKLCHoklch(40.4% 0.136 307.8)
XYZxyz(9.3867, 5.8398, 21.0506)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2E80 #51802E
analogous
#342E80 #5D2E80 #802E7A
triadic
#5D2E80 #805D2E #2E805D
tetradic
#5D2E80 #80342E #51802E #2E7A80
square
#5D2E80 #80342E #51802E #2E7A80
split-complementary
#5D2E80 #7A802E #2E8034
monochromatic
#1C0E26 #3C1E53 #5D2E80 #7E3EAD #9C62C7

Accessibility & contrast

On white

9.69
#5D2E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5D2E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2E80
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2E80#FFFFFF#000000##FFFFFF
##5D2E801.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044383
Deuteranopia (green-blind)
#20457E
Tritanopia (blue-blind)
#583E52
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5d2e80;
/* rgb */ color: rgb(93, 46, 128);
/* oklch */ color: oklch(40.4% 0.136 307.8);
Tailwind
colors: {
  custom: {
    50: '#8e6aa5',
    500: '#5d2e80',
    950: '#000000',
  },
}
SCSS
$custom: #5d2e80;
$custom-light: #8e6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2e80",
  "rgb": {
    "r": 93,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 274.39,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40397,
    "c": 0.13603,
    "h": 307.8
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#5D2E80
secondary
#7FAD5D
accent
#D7518A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D060F
muted
#7D7A7F

Preview Lab

Preview with #5D2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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