#5C35DA#5C35DA

#5C35DA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.232 H 284.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5C35DA
RGBrgb(92, 53, 218)
HSLhsl(254, 69%, 53%)
HSVhsv(254, 76%, 85%)
CMYKcmyk(57.8%, 75.7%, 0%, 14.5%)
CIE-LABlab(37.63, 57.75, -77.86)
CIE-LCHlch(37.63, 96.94, 306.56°)
OKLaboklab(48.81% 0.0588 -0.2243)
OKLCHoklch(48.81% 0.232 284.7)
XYZxyz(18.3378, 9.8823, 67.2573)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C35DA #B3DA35
analogous
#3560DA #5C35DA #AF35DA
triadic
#5C35DA #DA5C35 #35DA5C
tetradic
#5C35DA #DA3560 #B3DA35 #35DAAF
square
#5C35DA #DA3560 #B3DA35 #35DAAF
split-complementary
#5C35DA #DAAF35 #60DA35
monochromatic
#2F177E #4320B1 #5C35DA #8669E3 #AF9CED

Accessibility & contrast

On white

7.06
#5C35DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5C35DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C35DA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C35DA#FFFFFF#000000##FFFFFF
##5C35DA1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDF
Deuteranopia (green-blind)
#0053D7
Tritanopia (blue-blind)
#136486
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c35da;
/* rgb */ color: rgb(92, 53, 218);
/* oklch */ color: oklch(48.8% 0.232 284.7);
Tailwind
colors: {
  custom: {
    50: '#9871e7',
    500: '#5c35da',
    950: '#000000',
  },
}
SCSS
$custom: #5c35da;
$custom-light: #9871e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c35da",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 218
  },
  "hsl": {
    "h": 254.182,
    "s": 69.038,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48814,
    "c": 0.23192,
    "h": 284.7
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#5C35DA
secondary
#C8D992
accent
#EC3CC2
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5C35DA

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

Preview Lab → · Contrast checker → · Palette generator →

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