#5E35AE#5E35AE

#5E35AE is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.181 H 293.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5E35AE
RGBrgb(94, 53, 174)
HSLhsl(260, 53%, 45%)
HSVhsv(260, 70%, 68%)
CMYKcmyk(46%, 69.5%, 0%, 31.8%)
CIE-LABlab(33.94, 45.77, -58.15)
CIE-LCHlch(33.94, 74.01, 308.21°)
OKLaboklab(45.07% 0.0716 -0.1665)
OKLCHoklch(45.07% 0.181 293.3)
XYZxyz(13.5271, 7.9815, 40.8640)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E35AE #85AE35
analogous
#3548AE #5E35AE #9B35AE
triadic
#5E35AE #AE5E35 #35AE5E
tetradic
#5E35AE #AE3548 #85AE35 #35AE9B
square
#5E35AE #AE3548 #85AE35 #35AE9B
split-complementary
#5E35AE #AE9B35 #48AE35
monochromatic
#2B1850 #45277F #5E35AE #7D55CB #A184DA

Accessibility & contrast

On white

8.09
#5E35AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5E35AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E35AE
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E35AE#FFFFFF#000000##FFFFFF
##5E35AE1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#47536D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e35ae;
/* rgb */ color: rgb(94, 53, 174);
/* oklch */ color: oklch(45.1% 0.181 293.3);
Tailwind
colors: {
  custom: {
    50: '#936fc7',
    500: '#5e35ae',
    950: '#000000',
  },
}
SCSS
$custom: #5e35ae;
$custom-light: #936fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e35ae",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 260.331,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45066,
    "c": 0.18126,
    "h": 293.3
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#5E35AE
secondary
#ABC37C
accent
#DD4BAB
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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