#5D2E89#5D2E89

#5D2E89 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.147 H 304.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#5D2E89
RGBrgb(93, 46, 137)
HSLhsl(271, 50%, 36%)
HSVhsv(271, 66%, 54%)
CMYKcmyk(32.1%, 66.4%, 0%, 46.3%)
CIE-LABlab(29.63, 39.40, -42.66)
CIE-LCHlch(29.63, 58.07, 312.73°)
OKLaboklab(41.05% 0.0829 -0.1209)
OKLCHoklch(41.05% 0.147 304.4)
XYZxyz(10.0055, 6.0873, 24.3099)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2E89 #5A892E
analogous
#2F2E89 #5D2E89 #892E87
triadic
#5D2E89 #895D2E #2E895D
tetradic
#5D2E89 #892F2E #5A892E #2E8789
square
#5D2E89 #892F2E #5A892E #2E8789
split-complementary
#5D2E89 #87892E #2E892F
monochromatic
#1F0F2D #3E1F5B #5D2E89 #7C3DB7 #9A66CC

Accessibility & contrast

On white

9.47
#5D2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5D2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2E89
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2E89#FFFFFF#000000##FFFFFF
##5D2E891.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#134687
Tritanopia (blue-blind)
#554257
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d2e89;
/* rgb */ color: rgb(93, 46, 137);
/* oklch */ color: oklch(41.1% 0.147 304.4);
Tailwind
colors: {
  custom: {
    50: '#8f6aac',
    500: '#5d2e89',
    950: '#000000',
  },
}
SCSS
$custom: #5d2e89;
$custom-light: #8f6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2e89",
  "rgb": {
    "r": 93,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 270.989,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41051,
    "c": 0.14663,
    "h": 304.4
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

primary
#5D2E89
secondary
#88B260
accent
#D94F92
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #5D2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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