#5E35AF#5E35AF

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

Color values

HEX#5E35AF
RGBrgb(94, 53, 175)
HSLhsl(260, 54%, 45%)
HSVhsv(260, 70%, 69%)
CMYKcmyk(46.3%, 69.7%, 0%, 31.4%)
CIE-LABlab(34.03, 46.05, -58.62)
CIE-LCHlch(34.03, 74.54, 308.15°)
OKLaboklab(45.15% 0.0715 -0.1679)
OKLCHoklch(45.15% 0.182 293.1)
XYZxyz(13.6249, 8.0206, 41.3794)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E35AF #86AF35
analogous
#3549AF #5E35AF #9B35AF
triadic
#5E35AF #AF5E35 #35AF5E
tetradic
#5E35AF #AF3549 #86AF35 #35AF9B
square
#5E35AF #AF3549 #86AF35 #35AF9B
split-complementary
#5E35AF #AF9B35 #49AF35
monochromatic
#2C1951 #452780 #5E35AF #7D56CC #A185DA

Accessibility & contrast

On white

8.06
#5E35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E35AF
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E35AF#FFFFFF#000000##FFFFFF
##5E35AF1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#46546E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e35af;
/* rgb */ color: rgb(94, 53, 175);
/* oklch */ color: oklch(45.1% 0.182 293.1);
Tailwind
colors: {
  custom: {
    50: '#936fc8',
    500: '#5e35af',
    950: '#000000',
  },
}
SCSS
$custom: #5e35af;
$custom-light: #936fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e35af",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 260.164,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4515,
    "c": 0.18244,
    "h": 293.1
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#5E35AF
secondary
#ACC47C
accent
#DD4BAC
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5E35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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