#5D34AE#5D34AE

#5D34AE is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.182 H 293.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#5D34AE
RGBrgb(93, 52, 174)
HSLhsl(260, 54%, 44%)
HSVhsv(260, 70%, 68%)
CMYKcmyk(46.6%, 70.1%, 0%, 31.8%)
CIE-LABlab(33.64, 46.12, -58.65)
CIE-LCHlch(33.64, 74.61, 308.18°)
OKLaboklab(44.83% 0.0712 -0.168)
OKLCHoklch(44.83% 0.182 293)
XYZxyz(13.3801, 7.8387, 40.8442)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D34AE #85AE34
analogous
#3448AE #5D34AE #9A34AE
triadic
#5D34AE #AE5D34 #34AE5D
tetradic
#5D34AE #AE3448 #85AE34 #34AE9A
square
#5D34AE #AE3448 #85AE34 #34AE9A
split-complementary
#5D34AE #AE9A34 #48AE34
monochromatic
#2B1850 #44267F #5D34AE #7C53CC #A083DA

Accessibility & contrast

On white

8.18
#5D34AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5D34AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D34AE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D34AE#FFFFFF#000000##FFFFFF
##5D34AE1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#45536D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d34ae;
/* rgb */ color: rgb(93, 52, 174);
/* oklch */ color: oklch(44.8% 0.182 293.0);
Tailwind
colors: {
  custom: {
    50: '#926fc7',
    500: '#5d34ae',
    950: '#000000',
  },
}
SCSS
$custom: #5d34ae;
$custom-light: #926fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d34ae",
  "rgb": {
    "r": 93,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 260.164,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44827,
    "c": 0.18243,
    "h": 293
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#5D34AE
secondary
#ABC37B
accent
#DD4AAC
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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