#5E35AA#5E35AA

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

Color values

HEX#5E35AA
RGBrgb(94, 53, 170)
HSLhsl(261, 52%, 44%)
HSVhsv(261, 69%, 67%)
CMYKcmyk(44.7%, 68.8%, 0%, 33.3%)
CIE-LABlab(33.62, 44.67, -56.29)
CIE-LCHlch(33.62, 71.86, 308.44°)
OKLaboklab(44.74% 0.0723 -0.161)
OKLCHoklch(44.74% 0.177 294.2)
XYZxyz(13.1429, 7.8278, 38.8409)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E35AA #81AA35
analogous
#3546AA #5E35AA #9835AA
triadic
#5E35AA #AA5E35 #35AA5E
tetradic
#5E35AA #AA3546 #81AA35 #35AA98
square
#5E35AA #AA3546 #81AA35 #35AA98
split-complementary
#5E35AA #AA9835 #46AA35
monochromatic
#2A184D #44267B #5E35AA #7C53C9 #A082D8

Accessibility & contrast

On white

8.19
#5E35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E35AA
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E35AA#FFFFFF#000000##FFFFFF
##5E35AA1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#49526B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e35aa;
/* rgb */ color: rgb(94, 53, 170);
/* oklch */ color: oklch(44.7% 0.177 294.2);
Tailwind
colors: {
  custom: {
    50: '#926fc4',
    500: '#5e35aa',
    950: '#000000',
  },
}
SCSS
$custom: #5e35aa;
$custom-light: #926fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e35aa",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 261.026,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44735,
    "c": 0.17651,
    "h": 294.2
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

primary
#5E35AA
secondary
#A8C17A
accent
#DC4CA9
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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