#5E34AE#5E34AE

#5E34AE is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.182 H 293.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#5E34AE
RGBrgb(94, 52, 174)
HSLhsl(261, 54%, 44%)
HSVhsv(261, 70%, 68%)
CMYKcmyk(46%, 70.1%, 0%, 31.8%)
CIE-LABlab(33.76, 46.30, -58.46)
CIE-LCHlch(33.76, 74.57, 308.38°)
OKLaboklab(44.93% 0.0726 -0.1674)
OKLCHoklch(44.93% 0.182 293.5)
XYZxyz(13.4820, 7.8913, 40.8490)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E34AE #84AE34
analogous
#3447AE #5E34AE #9B34AE
triadic
#5E34AE #AE5E34 #34AE5E
tetradic
#5E34AE #AE3447 #84AE34 #34AE9B
square
#5E34AE #AE3447 #84AE34 #34AE9B
split-complementary
#5E34AE #AE9B34 #47AE34
monochromatic
#2B1850 #45267F #5E34AE #7D53CC #A183DA

Accessibility & contrast

On white

8.14
#5E34AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5E34AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E34AE
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E34AE#FFFFFF#000000##FFFFFF
##5E34AE1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#47536D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e34ae;
/* rgb */ color: rgb(94, 52, 174);
/* oklch */ color: oklch(44.9% 0.182 293.5);
Tailwind
colors: {
  custom: {
    50: '#936fc7',
    500: '#5e34ae',
    950: '#000000',
  },
}
SCSS
$custom: #5e34ae;
$custom-light: #936fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e34ae",
  "rgb": {
    "r": 94,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 260.656,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44931,
    "c": 0.18247,
    "h": 293.5
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#5E34AE
secondary
#AAC37B
accent
#DD4AAB
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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