#5D30AE#5D30AE

#5D30AE is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.187 H 293.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#5D30AE
RGBrgb(93, 48, 174)
HSLhsl(261, 57%, 44%)
HSVhsv(261, 72%, 68%)
CMYKcmyk(46.6%, 72.4%, 0%, 31.8%)
CIE-LABlab(32.91, 48.16, -59.84)
CIE-LCHlch(32.91, 76.82, 308.83°)
OKLaboklab(44.31% 0.075 -0.1715)
OKLCHoklch(44.31% 0.187 293.6)
XYZxyz(13.2090, 7.4967, 40.7872)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D30AE #81AE30
analogous
#3042AE #5D30AE #9C30AE
triadic
#5D30AE #AE5D30 #30AE5D
tetradic
#5D30AE #AE3042 #81AE30 #30AE9C
square
#5D30AE #AE3042 #81AE30 #30AE9C
split-complementary
#5D30AE #AE9C30 #42AE30
monochromatic
#2A164E #43237E #5D30AE #7B4DCE #9F7DDB

Accessibility & contrast

On white

8.40
#5D30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5D30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D30AE
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D30AE#FFFFFF#000000##FFFFFF
##5D30AE1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#45516C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5d30ae;
/* rgb */ color: rgb(93, 48, 174);
/* oklch */ color: oklch(44.3% 0.187 293.6);
Tailwind
colors: {
  custom: {
    50: '#926cc7',
    500: '#5d30ae',
    950: '#000000',
  },
}
SCSS
$custom: #5d30ae;
$custom-light: #926cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d30ae",
  "rgb": {
    "r": 93,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 261.429,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44306,
    "c": 0.18716,
    "h": 293.6
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#5D30AE
secondary
#A8C476
accent
#E048AA
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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