#5D1485#5D1485

#5D1485 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.173 H 309.3°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#5D1485
RGBrgb(93, 20, 133)
HSLhsl(279, 74%, 30%)
HSVhsv(279, 85%, 52%)
CMYKcmyk(30.1%, 85%, 0%, 47.8%)
CIE-LABlab(25.32, 49.75, -47.14)
CIE-LCHlch(25.32, 68.54, 316.54°)
OKLaboklab(37.9% 0.1096 -0.134)
OKLCHoklch(37.9% 0.173 309.3)
XYZxyz(8.9971, 4.5211, 22.5844)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1485 #3C8514
analogous
#241485 #5D1485 #851475
triadic
#5D1485 #855D14 #14855D
tetradic
#5D1485 #852414 #3C8514 #147585
square
#5D1485 #852414 #3C8514 #147585
split-complementary
#5D1485 #758514 #148524
monochromatic
#13041B #380C50 #5D1485 #821CBA #A333E0

Accessibility & contrast

On white

11.03
#5D1485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#5D1485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1485
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1485#FFFFFF#000000##FFFFFF
##5D14851.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#57334E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5d1485;
/* rgb */ color: rgb(93, 20, 133);
/* oklch */ color: oklch(37.9% 0.173 309.3);
Tailwind
colors: {
  custom: {
    50: '#905da9',
    500: '#5d1485',
    950: '#000000',
  },
}
SCSS
$custom: #5d1485;
$custom-light: #905da9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1485",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 133
  },
  "hsl": {
    "h": 278.761,
    "s": 73.856,
    "l": 30
  },
  "oklch": {
    "l": 0.37899,
    "c": 0.1731,
    "h": 309.3
  },
  "luminance": 0.04521
}

Semantic roles & 50–950 ramp

primary
#5D1485
secondary
#68BA3B
accent
#F13779
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5D1485

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

Preview Lab → · Contrast checker → · Palette generator →

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