#5D2485#5D2485

#5D2485 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.156 H 307.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#5D2485
RGBrgb(93, 36, 133)
HSLhsl(275, 57%, 33%)
HSVhsv(275, 73%, 52%)
CMYKcmyk(30.1%, 72.9%, 0%, 47.8%)
CIE-LABlab(27.52, 43.43, -43.57)
CIE-LCHlch(27.52, 61.52, 314.91°)
OKLaboklab(39.45% 0.095 -0.1236)
OKLCHoklch(39.45% 0.156 307.5)
XYZxyz(9.3778, 5.2825, 22.7113)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2485 #4C8524
analogous
#2D2485 #5D2485 #85247C
triadic
#5D2485 #855D24 #24855D
tetradic
#5D2485 #852D24 #4C8524 #247C85
square
#5D2485 #852D24 #4C8524 #247C85
split-complementary
#5D2485 #7C8524 #24852D
monochromatic
#1A0A25 #3B1755 #5D2485 #7F31B5 #9D53D0

Accessibility & contrast

On white

10.21
#5D2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#5D2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2485
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2485#FFFFFF#000000##FFFFFF
##5D24851.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#064183
Tritanopia (blue-blind)
#563A52
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5d2485;
/* rgb */ color: rgb(93, 36, 133);
/* oklch */ color: oklch(39.4% 0.156 307.5);
Tailwind
colors: {
  custom: {
    50: '#8f64a9',
    500: '#5d2485',
    950: '#000000',
  },
}
SCSS
$custom: #5d2485;
$custom-light: #8f64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2485",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 275.258,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39448,
    "c": 0.15586,
    "h": 307.5
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#5D2485
secondary
#7AB450
accent
#E14786
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5D2485

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

Preview Lab → · Contrast checker → · Palette generator →

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