#5E35D0#5E35D0

#5E35D0 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.221 H 287.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5E35D0
RGBrgb(94, 53, 208)
HSLhsl(256, 62%, 51%)
HSVhsv(256, 75%, 82%)
CMYKcmyk(54.8%, 74.5%, 0%, 18.4%)
CIE-LABlab(36.89, 55.23, -73.31)
CIE-LCHlch(36.89, 91.78, 306.99°)
OKLaboklab(48.06% 0.0643 -0.2109)
OKLCHoklch(48.06% 0.221 287)
XYZxyz(17.2710, 9.4790, 60.5819)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E35D0 #A7D035
analogous
#3559D0 #5E35D0 #AB35D0
triadic
#5E35D0 #D05E35 #35D05E
tetradic
#5E35D0 #D03559 #A7D035 #35D0AB
square
#5E35D0 #D03559 #A7D035 #35D0AB
split-complementary
#5E35D0 #D0AB35 #59D035
monochromatic
#311A70 #4726A2 #5E35D0 #8667DC #AD98E7

Accessibility & contrast

On white

7.25
#5E35D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5E35D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E35D0
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E35D0#FFFFFF#000000##FFFFFF
##5E35D01.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD4
Deuteranopia (green-blind)
#0052CD
Tritanopia (blue-blind)
#2C6080
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e35d0;
/* rgb */ color: rgb(94, 53, 208);
/* oklch */ color: oklch(48.1% 0.221 287.0);
Tailwind
colors: {
  custom: {
    50: '#9771e0',
    500: '#5e35d0',
    950: '#000000',
  },
}
SCSS
$custom: #5e35d0;
$custom-light: #9771e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e35d0",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 208
  },
  "hsl": {
    "h": 255.871,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48059,
    "c": 0.22052,
    "h": 287
  },
  "luminance": 0.0948
}

Semantic roles & 50–950 ramp

primary
#5E35D0
secondary
#C1D38E
accent
#E542BA
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5E35D0

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

Preview Lab → · Contrast checker → · Palette generator →

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