#5D2CA3#5D2CA3

#5D2CA3 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.179 H 296.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#5D2CA3
RGBrgb(93, 44, 163)
HSLhsl(265, 57%, 41%)
HSVhsv(265, 73%, 64%)
CMYKcmyk(42.9%, 73%, 0%, 36.1%)
CIE-LABlab(31.28, 47.19, -55.89)
CIE-LCHlch(31.28, 73.15, 310.18°)
OKLaboklab(42.87% 0.0811 -0.1598)
OKLCHoklch(42.87% 0.179 296.9)
XYZxyz(12.0240, 6.7726, 35.3170)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2CA3 #72A32C
analogous
#2C36A3 #5D2CA3 #982CA3
triadic
#5D2CA3 #A35D2C #2CA35D
tetradic
#5D2CA3 #A32C36 #72A32C #2CA398
square
#5D2CA3 #A32C36 #72A32C #2CA398
split-complementary
#5D2CA3 #A3982C #36A32C
monochromatic
#261243 #421F73 #5D2CA3 #7A41CC #9C71D9

Accessibility & contrast

On white

8.92
#5D2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5D2CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2CA3
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2CA3#FFFFFF#000000##FFFFFF
##5D2CA31.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#4B4A65
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5d2ca3;
/* rgb */ color: rgb(93, 44, 163);
/* oklch */ color: oklch(42.9% 0.179 296.9);
Tailwind
colors: {
  custom: {
    50: '#916abf',
    500: '#5d2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #5d2ca3;
$custom-light: #916abf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2ca3",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 264.706,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42866,
    "c": 0.17925,
    "h": 296.9
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#5D2CA3
secondary
#9DC06B
accent
#E147A1
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5D2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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