#5D109D#5D109D

#5D109D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.8% C 0.198 H 301.5°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#5D109D
RGBrgb(93, 16, 157)
HSLhsl(273, 82%, 34%)
HSVhsv(273, 90%, 62%)
CMYKcmyk(40.8%, 89.8%, 0%, 38.4%)
CIE-LABlab(27.11, 56.25, -59.08)
CIE-LCHlch(27.11, 81.57, 313.59°)
OKLaboklab(39.79% 0.1038 -0.169)
OKLCHoklch(39.79% 0.198 301.5)
XYZxyz(10.7838, 5.1320, 32.3142)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D109D #509D10
analogous
#17109D #5D109D #9D1097
triadic
#5D109D #9D5D10 #109D5D
tetradic
#5D109D #9D1710 #509D10 #10979D
square
#5D109D #9D1710 #509D10 #10979D
split-complementary
#5D109D #979D10 #109D17
monochromatic
#1B052E #3C0A65 #5D109D #7E16D5 #9C3CEB

Accessibility & contrast

On white

10.36
#5D109D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5D109D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D109D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D109D#FFFFFF#000000##FFFFFF
##5D109D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#4E3D5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5d109d;
/* rgb */ color: rgb(93, 16, 157);
/* oklch */ color: oklch(39.8% 0.198 301.5);
Tailwind
colors: {
  custom: {
    50: '#925dbb',
    500: '#5d109d',
    950: '#000000',
  },
}
SCSS
$custom: #5d109d;
$custom-light: #925dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d109d",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 157
  },
  "hsl": {
    "h": 272.766,
    "s": 81.503,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39793,
    "c": 0.1983,
    "h": 301.5
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#5D109D
secondary
#7ECA3E
accent
#F8308B
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0512
muted
#7E7981

Preview Lab

Preview with #5D109D

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

Preview Lab → · Contrast checker → · Palette generator →

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