#5E35DA#5E35DA

#5E35DA is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.232 H 285.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5E35DA
RGBrgb(94, 53, 218)
HSLhsl(255, 69%, 53%)
HSVhsv(255, 76%, 85%)
CMYKcmyk(56.9%, 75.7%, 0%, 14.5%)
CIE-LABlab(37.82, 58.00, -77.55)
CIE-LCHlch(37.82, 96.84, 306.79°)
OKLaboklab(48.99% 0.0617 -0.2233)
OKLCHoklch(48.99% 0.232 285.4)
XYZxyz(18.5402, 9.9867, 67.2667)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E35DA #B1DA35
analogous
#355EDA #5E35DA #B035DA
triadic
#5E35DA #DA5E35 #35DA5E
tetradic
#5E35DA #DA355E #B1DA35 #35DAB0
square
#5E35DA #DA355E #B1DA35 #35DAB0
split-complementary
#5E35DA #DAB035 #5EDA35
monochromatic
#30177E #4420B1 #5E35DA #8769E3 #B09CED

Accessibility & contrast

On white

7.01
#5E35DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5E35DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E35DA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E35DA#FFFFFF#000000##FFFFFF
##5E35DA1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDF
Deuteranopia (green-blind)
#0054D7
Tritanopia (blue-blind)
#1D6486
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e35da;
/* rgb */ color: rgb(94, 53, 218);
/* oklch */ color: oklch(49.0% 0.232 285.4);
Tailwind
colors: {
  custom: {
    50: '#9971e7',
    500: '#5e35da',
    950: '#000000',
  },
}
SCSS
$custom: #5e35da;
$custom-light: #9971e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e35da",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 218
  },
  "hsl": {
    "h": 254.909,
    "s": 69.038,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48991,
    "c": 0.23172,
    "h": 285.4
  },
  "luminance": 0.09988
}

Semantic roles & 50–950 ramp

primary
#5E35DA
secondary
#C7D992
accent
#EC3CC0
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5E35DA

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

Preview Lab → · Contrast checker → · Palette generator →

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