#5E35AC#5E35AC

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

Color values

HEX#5E35AC
RGBrgb(94, 53, 172)
HSLhsl(261, 53%, 44%)
HSVhsv(261, 69%, 67%)
CMYKcmyk(45.3%, 69.2%, 0%, 32.5%)
CIE-LABlab(33.78, 45.22, -57.22)
CIE-LCHlch(33.78, 72.93, 308.32°)
OKLaboklab(44.9% 0.072 -0.1638)
OKLCHoklch(44.9% 0.179 293.7)
XYZxyz(13.3336, 7.9041, 39.8448)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E35AC #83AC35
analogous
#3548AC #5E35AC #9A35AC
triadic
#5E35AC #AC5E35 #35AC5E
tetradic
#5E35AC #AC3548 #83AC35 #35AC9A
square
#5E35AC #AC3548 #83AC35 #35AC9A
split-complementary
#5E35AC #AC9A35 #48AC35
monochromatic
#2B184E #44277D #5E35AC #7D54CA #A083D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E35AC#FFFFFF#000000##FFFFFF
##5E35AC1.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)
#0051B0
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#48526C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e35ac;
/* rgb */ color: rgb(94, 53, 172);
/* oklch */ color: oklch(44.9% 0.179 293.7);
Tailwind
colors: {
  custom: {
    50: '#926fc6',
    500: '#5e35ac',
    950: '#000000',
  },
}
SCSS
$custom: #5e35ac;
$custom-light: #926fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e35ac",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 260.672,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.449,
    "c": 0.17889,
    "h": 293.7
  },
  "luminance": 0.07904
}

Semantic roles & 50–950 ramp

primary
#5E35AC
secondary
#AAC27B
accent
#DC4CAA
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E35AC

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

Preview Lab → · Contrast checker → · Palette generator →

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