#5D247D#5D247D

#5D247D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.147 H 310.7°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#5D247D
RGBrgb(93, 36, 125)
HSLhsl(278, 55%, 32%)
HSVhsv(278, 71%, 49%)
CMYKcmyk(25.6%, 71.2%, 0%, 51%)
CIE-LABlab(26.93, 41.53, -39.50)
CIE-LCHlch(26.93, 57.32, 316.44°)
OKLaboklab(38.84% 0.096 -0.1116)
OKLCHoklch(38.84% 0.147 310.7)
XYZxyz(8.8460, 5.0698, 19.9106)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D247D #447D24
analogous
#31247D #5D247D #7D2471
triadic
#5D247D #7D5D24 #247D5D
tetradic
#5D247D #7D3124 #447D24 #24717D
square
#5D247D #7D3124 #447D24 #24717D
split-complementary
#5D247D #717D24 #247D31
monochromatic
#16091E #3A164D #5D247D #8032AD #9F4FCC

Accessibility & contrast

On white

10.43
#5D247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5D247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D247D
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D247D#FFFFFF#000000##FFFFFF
##5D247D1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#17417B
Tritanopia (blue-blind)
#59374D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5d247d;
/* rgb */ color: rgb(93, 36, 125);
/* oklch */ color: oklch(38.8% 0.147 310.7);
Tailwind
colors: {
  custom: {
    50: '#8e64a3',
    500: '#5d247d',
    950: '#000000',
  },
}
SCSS
$custom: #5d247d;
$custom-light: #8e64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d247d",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 278.427,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38838,
    "c": 0.14725,
    "h": 310.7
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

primary
#5D247D
secondary
#71AF4D
accent
#DF497F
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #5D247D

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

Preview Lab → · Contrast checker → · Palette generator →

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