#5D2F83#5D2F83

#5D2F83 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.138 H 306.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#5D2F83
RGBrgb(93, 47, 131)
HSLhsl(273, 47%, 35%)
HSVhsv(273, 64%, 51%)
CMYKcmyk(29%, 64.1%, 0%, 48.6%)
CIE-LABlab(29.41, 37.33, -39.28)
CIE-LCHlch(29.41, 54.19, 313.55°)
OKLaboklab(40.76% 0.082 -0.111)
OKLCHoklch(40.76% 0.138 306.4)
XYZxyz(9.6266, 5.9990, 22.1191)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2F83 #55832F
analogous
#332F83 #5D2F83 #832F7F
triadic
#5D2F83 #835D2F #2F835D
tetradic
#5D2F83 #83332F #55832F #2F7F83
square
#5D2F83 #83332F #55832F #2F7F83
split-complementary
#5D2F83 #7F832F #2F8333
monochromatic
#1D0F29 #3D1F56 #5D2F83 #7D3FB0 #9B65C8

Accessibility & contrast

On white

9.55
#5D2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D2F83
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2F83#FFFFFF#000000##FFFFFF
##5D2F831.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004486
Deuteranopia (green-blind)
#1E4681
Tritanopia (blue-blind)
#574054
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d2f83;
/* rgb */ color: rgb(93, 47, 131);
/* oklch */ color: oklch(40.8% 0.138 306.4);
Tailwind
colors: {
  custom: {
    50: '#8e6aa8',
    500: '#5d2f83',
    950: '#000000',
  },
}
SCSS
$custom: #5d2f83;
$custom-light: #8e6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2f83",
  "rgb": {
    "r": 93,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 272.857,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40756,
    "c": 0.13804,
    "h": 306.4
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#5D2F83
secondary
#83AF5F
accent
#D7518E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D070F
muted
#7D7A7F

Preview Lab

Preview with #5D2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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