#5E35CD#5E35CD

#5E35CD is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.217 H 287.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5E35CD
RGBrgb(94, 53, 205)
HSLhsl(256, 60%, 51%)
HSVhsv(256, 74%, 80%)
CMYKcmyk(54.1%, 74.1%, 0%, 19.6%)
CIE-LABlab(36.62, 54.39, -72.02)
CIE-LCHlch(36.62, 90.25, 307.06°)
OKLaboklab(47.78% 0.065 -0.2072)
OKLCHoklch(47.78% 0.217 287.4)
XYZxyz(16.9054, 9.3328, 58.6564)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E35CD #A4CD35
analogous
#3558CD #5E35CD #AA35CD
triadic
#5E35CD #CD5E35 #35CD5E
tetradic
#5E35CD #CD3558 #A4CD35 #35CDAA
square
#5E35CD #CD3558 #A4CD35 #35CDAA
split-complementary
#5E35CD #CDAA35 #58CD35
monochromatic
#311B6D #47279E #5E35CD #8566D9 #AC97E5

Accessibility & contrast

On white

7.33
#5E35CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5E35CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E35CD
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E35CD#FFFFFF#000000##FFFFFF
##5E35CD1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#2F5F7F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e35cd;
/* rgb */ color: rgb(94, 53, 205);
/* oklch */ color: oklch(47.8% 0.217 287.4);
Tailwind
colors: {
  custom: {
    50: '#9771dd',
    500: '#5e35cd',
    950: '#000000',
  },
}
SCSS
$custom: #5e35cd;
$custom-light: #9771dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e35cd",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 205
  },
  "hsl": {
    "h": 256.184,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47783,
    "c": 0.21714,
    "h": 287.4
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#5E35CD
secondary
#BED18D
accent
#E344B9
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5E35CD

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

Preview Lab → · Contrast checker → · Palette generator →

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