#5D246F#5D246F

#5D246F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.8% C 0.132 H 317.1°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#5D246F
RGBrgb(93, 36, 111)
HSLhsl(286, 51%, 29%)
HSVhsv(286, 68%, 44%)
CMYKcmyk(16.2%, 67.6%, 0%, 56.5%)
CIE-LABlab(25.97, 38.34, -32.13)
CIE-LCHlch(25.97, 50.02, 320.04°)
OKLaboklab(37.84% 0.097 -0.09)
OKLCHoklch(37.84% 0.132 317.1)
XYZxyz(8.0139, 4.7369, 15.5280)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D246F #366F24
analogous
#38246F #5D246F #6F245C
triadic
#5D246F #6F5D24 #246F5D
tetradic
#5D246F #6F3824 #366F24 #245C6F
square
#5D246F #6F3824 #366F24 #245C6F
split-complementary
#5D246F #5C6F24 #246F38
monochromatic
#130717 #361541 #5D246F #84339D #A749C4

Accessibility & contrast

On white

10.78
#5D246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#5D246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D246F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D246F#FFFFFF#000000##FFFFFF
##5D246F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093A71
Deuteranopia (green-blind)
#263F6D
Tritanopia (blue-blind)
#5C3146
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5d246f;
/* rgb */ color: rgb(93, 36, 111);
/* oklch */ color: oklch(37.8% 0.132 317.1);
Tailwind
colors: {
  custom: {
    50: '#8d6399',
    500: '#5d246f',
    950: '#000000',
  },
}
SCSS
$custom: #5d246f;
$custom-light: #8d6399;
$custom-dark: #000000;
JSON
{
  "hex": "#5d246f",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 285.6,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3784,
    "c": 0.13231,
    "h": 317.1
  },
  "luminance": 0.04737
}

Semantic roles & 50–950 ramp

primary
#5D246F
secondary
#61A24D
accent
#DA4D6F
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050E
muted
#7D7A7E

Preview Lab

Preview with #5D246F

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

Preview Lab → · Contrast checker → · Palette generator →

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