#5D33AF#5D33AF

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

Color values

HEX#5D33AF
RGBrgb(93, 51, 175)
HSLhsl(260, 55%, 44%)
HSVhsv(260, 71%, 69%)
CMYKcmyk(46.9%, 70.9%, 0%, 31.4%)
CIE-LABlab(33.54, 46.91, -59.41)
CIE-LCHlch(33.54, 75.70, 308.29°)
OKLaboklab(44.78% 0.072 -0.1702)
OKLCHoklch(44.78% 0.185 292.9)
XYZxyz(13.4337, 7.7895, 41.3448)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D33AF #85AF33
analogous
#3347AF #5D33AF #9B33AF
triadic
#5D33AF #AF5D33 #33AF5D
tetradic
#5D33AF #AF3347 #85AF33 #33AF9B
square
#5D33AF #AF3347 #85AF33 #33AF9B
split-complementary
#5D33AF #AF9B33 #47AF33
monochromatic
#2B1750 #442580 #5D33AF #7C52CD #A082DB

Accessibility & contrast

On white

8.21
#5D33AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5D33AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D33AF
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D33AF#FFFFFF#000000##FFFFFF
##5D33AF1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#44536D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d33af;
/* rgb */ color: rgb(93, 51, 175);
/* oklch */ color: oklch(44.8% 0.185 292.9);
Tailwind
colors: {
  custom: {
    50: '#926ec8',
    500: '#5d33af',
    950: '#000000',
  },
}
SCSS
$custom: #5d33af;
$custom-light: #926ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d33af",
  "rgb": {
    "r": 93,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 260.323,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44778,
    "c": 0.18481,
    "h": 292.9
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#5D33AF
secondary
#ABC47A
accent
#DE4AAC
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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