#5E33AD#5E33AD

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

Color values

HEX#5E33AD
RGBrgb(94, 51, 173)
HSLhsl(261, 54%, 44%)
HSVhsv(261, 71%, 68%)
CMYKcmyk(45.7%, 70.5%, 0%, 32.2%)
CIE-LABlab(33.49, 46.54, -58.30)
CIE-LCHlch(33.49, 74.60, 308.60°)
OKLaboklab(44.71% 0.0738 -0.1669)
OKLCHoklch(44.71% 0.183 293.8)
XYZxyz(13.3407, 7.7641, 40.3228)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33AD #82AD33
analogous
#3345AD #5E33AD #9B33AD
triadic
#5E33AD #AD5E33 #33AD5E
tetradic
#5E33AD #AD3345 #82AD33 #33AD9B
square
#5E33AD #AD3345 #82AD33 #33AD9B
split-complementary
#5E33AD #AD9B33 #45AD33
monochromatic
#2B174E #44257E #5E33AD #7D51CC #A081DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E33AD#FFFFFF#000000##FFFFFF
##5E33AD1.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)
#0050B1
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#47526C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e33ad;
/* rgb */ color: rgb(94, 51, 173);
/* oklch */ color: oklch(44.7% 0.183 293.8);
Tailwind
colors: {
  custom: {
    50: '#936ec6',
    500: '#5e33ad',
    950: '#000000',
  },
}
SCSS
$custom: #5e33ad;
$custom-light: #936ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33ad",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 173
  },
  "hsl": {
    "h": 261.148,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44714,
    "c": 0.18251,
    "h": 293.8
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#5E33AD
secondary
#A9C379
accent
#DE4AAA
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E33AD

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

Preview Lab → · Contrast checker → · Palette generator →

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