#5D33AE#5D33AE

#5D33AE is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.7% C 0.184 H 293.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5D33AE
RGBrgb(93, 51, 174)
HSLhsl(260, 55%, 44%)
HSVhsv(260, 71%, 68%)
CMYKcmyk(46.6%, 70.7%, 0%, 31.8%)
CIE-LABlab(33.46, 46.64, -58.95)
CIE-LCHlch(33.46, 75.17, 308.35°)
OKLaboklab(44.69% 0.0721 -0.1689)
OKLCHoklch(44.69% 0.184 293.1)
XYZxyz(13.3359, 7.7504, 40.8295)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D33AE #84AE33
analogous
#3346AE #5D33AE #9B33AE
triadic
#5D33AE #AE5D33 #33AE5D
tetradic
#5D33AE #AE3346 #84AE33 #33AE9B
square
#5D33AE #AE3346 #84AE33 #33AE9B
split-complementary
#5D33AE #AE9B33 #46AE33
monochromatic
#2A174F #44257F #5D33AE #7C52CC #A081DA

Accessibility & contrast

On white

8.23
#5D33AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5D33AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D33AE
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D33AE#FFFFFF#000000##FFFFFF
##5D33AE1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#45526D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d33ae;
/* rgb */ color: rgb(93, 51, 174);
/* oklch */ color: oklch(44.7% 0.184 293.1);
Tailwind
colors: {
  custom: {
    50: '#926ec7',
    500: '#5d33ae',
    950: '#000000',
  },
}
SCSS
$custom: #5d33ae;
$custom-light: #926ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d33ae",
  "rgb": {
    "r": 93,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 260.488,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44693,
    "c": 0.18363,
    "h": 293.1
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#5D33AE
secondary
#AAC379
accent
#DE4AAB
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D33AE

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

Preview Lab → · Contrast checker → · Palette generator →

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