#5E33AF#5E33AF

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

Color values

HEX#5E33AF
RGBrgb(94, 51, 175)
HSLhsl(261, 55%, 44%)
HSVhsv(261, 71%, 69%)
CMYKcmyk(46.3%, 70.9%, 0%, 31.4%)
CIE-LABlab(33.65, 47.09, -59.23)
CIE-LCHlch(33.65, 75.67, 308.49°)
OKLaboklab(44.88% 0.0734 -0.1696)
OKLCHoklch(44.88% 0.185 293.4)
XYZxyz(13.5357, 7.8421, 41.3496)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33AF #84AF33
analogous
#3346AF #5E33AF #9C33AF
triadic
#5E33AF #AF5E33 #33AF5E
tetradic
#5E33AF #AF3346 #84AF33 #33AF9C
square
#5E33AF #AF3346 #84AF33 #33AF9C
split-complementary
#5E33AF #AF9C33 #46AF33
monochromatic
#2B1750 #452580 #5E33AF #7D52CD #A182DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E33AF#FFFFFF#000000##FFFFFF
##5E33AF1.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)
#0051B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#46526D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e33af;
/* rgb */ color: rgb(94, 51, 175);
/* oklch */ color: oklch(44.9% 0.185 293.4);
Tailwind
colors: {
  custom: {
    50: '#936ec8',
    500: '#5e33af',
    950: '#000000',
  },
}
SCSS
$custom: #5e33af;
$custom-light: #936ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33af",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 260.806,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44883,
    "c": 0.18485,
    "h": 293.4
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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