#5C35D2#5C35D2

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

Color values

HEX#5C35D2
RGBrgb(92, 53, 210)
HSLhsl(255, 64%, 52%)
HSVhsv(255, 75%, 82%)
CMYKcmyk(56.2%, 74.8%, 0%, 17.6%)
CIE-LABlab(36.88, 55.51, -74.49)
CIE-LCHlch(36.88, 92.90, 306.70°)
OKLaboklab(48.06% 0.0609 -0.2145)
OKLCHoklch(48.06% 0.223 285.9)
XYZxyz(17.3161, 9.4737, 61.8764)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C35D2 #ABD235
analogous
#355DD2 #5C35D2 #AA35D2
triadic
#5C35D2 #D25C35 #35D25C
tetradic
#5C35D2 #D2355D #ABD235 #35D2AA
square
#5C35D2 #D2355D #ABD235 #35D2AA
split-complementary
#5C35D2 #D2AA35 #5DD235
monochromatic
#301A73 #4525A5 #5C35D2 #8467DD #AD99E8

Accessibility & contrast

On white

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

On black

2.89
#5C35D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5C35D2#FFFFFF#000000##FFFFFF
##5C35D21.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD6
Deuteranopia (green-blind)
#0052CF
Tritanopia (blue-blind)
#236181
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c35d2;
/* rgb */ color: rgb(92, 53, 210);
/* oklch */ color: oklch(48.1% 0.223 285.9);
Tailwind
colors: {
  custom: {
    50: '#9771e1',
    500: '#5c35d2',
    950: '#000000',
  },
}
SCSS
$custom: #5c35d2;
$custom-light: #9771e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c35d2",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 254.904,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48061,
    "c": 0.22294,
    "h": 285.9
  },
  "luminance": 0.09475
}

Semantic roles & 50–950 ramp

primary
#5C35D2
secondary
#C3D48F
accent
#E741BE
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0815
muted
#7F7B84

Preview Lab

Preview with #5C35D2

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

Preview Lab → · Contrast checker → · Palette generator →

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