#5D246A#5D246A

#5D246A is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.5% C 0.127 H 319.7°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#5D246A
RGBrgb(93, 36, 106)
HSLhsl(289, 49%, 28%)
HSVhsv(289, 66%, 42%)
CMYKcmyk(12.3%, 66%, 0%, 58.4%)
CIE-LABlab(25.65, 37.24, -29.41)
CIE-LCHlch(25.65, 47.46, 321.70°)
OKLaboklab(37.51% 0.097 -0.0821)
OKLCHoklch(37.51% 0.127 319.7)
XYZxyz(7.7463, 4.6299, 14.1185)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D246A #316A24
analogous
#3A246A #5D246A #6A2454
triadic
#5D246A #6A5D24 #246A5D
tetradic
#5D246A #6A3A24 #316A24 #24546A
square
#5D246A #6A3A24 #316A24 #24546A
split-complementary
#5D246A #546A24 #246A3A
monochromatic
#140817 #35143C #5D246A #853498 #AA48C1

Accessibility & contrast

On white

10.90
#5D246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5D246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D246A
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D246A#FFFFFF#000000##FFFFFF
##5D246A1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11396C
Deuteranopia (green-blind)
#293F68
Tritanopia (blue-blind)
#5D3043
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5d246a;
/* rgb */ color: rgb(93, 36, 106);
/* oklch */ color: oklch(37.5% 0.127 319.7);
Tailwind
colors: {
  custom: {
    50: '#8d6395',
    500: '#5d246a',
    950: '#000000',
  },
}
SCSS
$custom: #5d246a;
$custom-light: #8d6395;
$custom-dark: #000000;
JSON
{
  "hex": "#5d246a",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 288.857,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37507,
    "c": 0.12707,
    "h": 319.7
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#5D246A
secondary
#5C9D4D
accent
#D94F69
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #5D246A

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

Preview Lab → · Contrast checker → · Palette generator →

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