#5D108D#5D108D

#5D108D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.3% C 0.184 H 306.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#5D108D
RGBrgb(93, 16, 141)
HSLhsl(277, 80%, 31%)
HSVhsv(277, 89%, 55%)
CMYKcmyk(34%, 88.7%, 0%, 44.7%)
CIE-LABlab(25.63, 52.67, -51.65)
CIE-LCHlch(25.63, 73.77, 315.56°)
OKLaboklab(38.32% 0.1097 -0.1472)
OKLCHoklch(38.32% 0.184 306.7)
XYZxyz(9.5062, 4.6209, 25.5853)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D108D #408D10
analogous
#1E108D #5D108D #8D107E
triadic
#5D108D #8D5D10 #108D5D
tetradic
#5D108D #8D1E10 #408D10 #107E8D
square
#5D108D #8D1E10 #408D10 #107E8D
split-complementary
#5D108D #7E8D10 #108D1E
monochromatic
#14041F #390A56 #5D108D #8116C4 #A130E7

Accessibility & contrast

On white

10.91
#5D108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5D108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D108D
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D108D#FFFFFF#000000##FFFFFF
##5D108D1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#543552
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5d108d;
/* rgb */ color: rgb(93, 16, 141);
/* oklch */ color: oklch(38.3% 0.184 306.7);
Tailwind
colors: {
  custom: {
    50: '#915caf',
    500: '#5d108d',
    950: '#000000',
  },
}
SCSS
$custom: #5d108d;
$custom-light: #915caf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d108d",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 276.96,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38323,
    "c": 0.18356,
    "h": 306.7
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#5D108D
secondary
#6CC237
accent
#F6327D
background
#F9F5FA
surface
#F2E9F5
border
#CCC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5D108D

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

Preview Lab → · Contrast checker → · Palette generator →

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