#5535C6#5535C6

#5535C6 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.3% C 0.210 H 284.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5535C6
RGBrgb(85, 53, 198)
HSLhsl(253, 58%, 49%)
HSVhsv(253, 73%, 78%)
CMYKcmyk(57.1%, 73.2%, 0%, 22.4%)
CIE-LABlab(35.11, 51.15, -70.45)
CIE-LCHlch(35.11, 87.06, 305.98°)
OKLaboklab(46.32% 0.0537 -0.2028)
OKLCHoklch(46.32% 0.21 284.8)
XYZxyz(15.2094, 8.5538, 54.2647)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535C6 #A6C635
analogous
#355EC6 #5535C6 #9E35C6
triadic
#5535C6 #C65535 #35C655
tetradic
#5535C6 #C6355E #A6C635 #35C69E
square
#5535C6 #C6355E #A6C635 #35C69E
split-complementary
#5535C6 #C69E35 #5EC635
monochromatic
#2C1B65 #402896 #5535C6 #7C63D5 #A593E2

Accessibility & contrast

On white

7.75
#5535C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5535C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535C6
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535C6#FFFFFF#000000##FFFFFF
##5535C61.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CA
Deuteranopia (green-blind)
#004EC3
Tritanopia (blue-blind)
#1A5D7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5535c6;
/* rgb */ color: rgb(85, 53, 198);
/* oklch */ color: oklch(46.3% 0.210 284.8);
Tailwind
colors: {
  custom: {
    50: '#9170d8',
    500: '#5535c6',
    950: '#000000',
  },
}
SCSS
$custom: #5535c6;
$custom-light: #9170d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5535c6",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 253.241,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46318,
    "c": 0.20985,
    "h": 284.8
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#5535C6
secondary
#BECD8A
accent
#E147BF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5535C6

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

Preview Lab → · Contrast checker → · Palette generator →

#5535C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva