#5535C5#5535C5

#5535C5 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.209 H 285.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5535C5
RGBrgb(85, 53, 197)
HSLhsl(253, 58%, 49%)
HSVhsv(253, 73%, 77%)
CMYKcmyk(56.9%, 73.1%, 0%, 22.7%)
CIE-LABlab(35.02, 50.86, -70.01)
CIE-LCHlch(35.02, 86.54, 306.00°)
OKLaboklab(46.23% 0.054 -0.2016)
OKLCHoklch(46.23% 0.209 285)
XYZxyz(15.0944, 8.5078, 53.6593)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535C5 #A5C535
analogous
#355DC5 #5535C5 #9D35C5
triadic
#5535C5 #C55535 #35C555
tetradic
#5535C5 #C5355D #A5C535 #35C59D
square
#5535C5 #C5355D #A5C535 #35C59D
split-complementary
#5535C5 #C59D35 #5DC535
monochromatic
#2B1B65 #402895 #5535C5 #7C62D5 #A493E2

Accessibility & contrast

On white

7.77
#5535C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5535C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535C5
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535C5#FFFFFF#000000##FFFFFF
##5535C51.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004EC2
Tritanopia (blue-blind)
#1C5D7A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5535c5;
/* rgb */ color: rgb(85, 53, 197);
/* oklch */ color: oklch(46.2% 0.209 285.0);
Tailwind
colors: {
  custom: {
    50: '#9170d8',
    500: '#5535c5',
    950: '#000000',
  },
}
SCSS
$custom: #5535c5;
$custom-light: #9170d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5535c5",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 253.333,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46226,
    "c": 0.20868,
    "h": 285
  },
  "luminance": 0.08509
}

Semantic roles & 50–950 ramp

primary
#5535C5
secondary
#BECD89
accent
#E147BF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5535C5

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

Preview Lab → · Contrast checker → · Palette generator →

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