#5E33AC#5E33AC

#5E33AC is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.181 H 294.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#5E33AC
RGBrgb(94, 51, 172)
HSLhsl(261, 54%, 44%)
HSVhsv(261, 70%, 67%)
CMYKcmyk(45.3%, 70.3%, 0%, 32.5%)
CIE-LABlab(33.40, 46.27, -57.84)
CIE-LCHlch(33.40, 74.07, 308.66°)
OKLaboklab(44.63% 0.074 -0.1656)
OKLCHoklch(44.63% 0.181 294.1)
XYZxyz(13.2443, 7.7255, 39.8151)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E33AC #81AC33
analogous
#3344AC #5E33AC #9A33AC
triadic
#5E33AC #AC5E33 #33AC5E
tetradic
#5E33AC #AC3344 #81AC33 #33AC9A
square
#5E33AC #AC3344 #81AC33 #33AC9A
split-complementary
#5E33AC #AC9A33 #44AC33
monochromatic
#2A174E #44257D #5E33AC #7C51CB #A080D9

Accessibility & contrast

On white

8.25
#5E33AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E33AC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E33AC#FFFFFF#000000##FFFFFF
##5E33AC1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#48516C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e33ac;
/* rgb */ color: rgb(94, 51, 172);
/* oklch */ color: oklch(44.6% 0.181 294.1);
Tailwind
colors: {
  custom: {
    50: '#936ec6',
    500: '#5e33ac',
    950: '#000000',
  },
}
SCSS
$custom: #5e33ac;
$custom-light: #936ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e33ac",
  "rgb": {
    "r": 94,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 261.322,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4463,
    "c": 0.18134,
    "h": 294.1
  },
  "luminance": 0.07726
}

Semantic roles & 50–950 ramp

primary
#5E33AC
secondary
#A8C278
accent
#DE4AA9
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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