#5535CC#5535CC

#5535CC is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.9% C 0.217 H 284.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5535CC
RGBrgb(85, 53, 204)
HSLhsl(253, 60%, 50%)
HSVhsv(253, 74%, 80%)
CMYKcmyk(58.3%, 74%, 0%, 20%)
CIE-LABlab(35.67, 52.89, -73.03)
CIE-LCHlch(35.67, 90.17, 305.91°)
OKLaboklab(46.88% 0.0523 -0.2104)
OKLCHoklch(46.88% 0.217 284)
XYZxyz(15.9152, 8.8361, 57.9819)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535CC #ACCC35
analogous
#3560CC #5535CC #A035CC
triadic
#5535CC #CC5535 #35CC55
tetradic
#5535CC #CC3560 #ACCC35 #35CCA0
square
#5535CC #CC3560 #ACCC35 #35CCA0
split-complementary
#5535CC #CCA035 #60CC35
monochromatic
#2C1B6B #40279C #5535CC #7E66D8 #A797E5

Accessibility & contrast

On white

7.59
#5535CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5535CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535CC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535CC#FFFFFF#000000##FFFFFF
##5535CC1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004FC9
Tritanopia (blue-blind)
#0B5F7E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5535cc;
/* rgb */ color: rgb(85, 53, 204);
/* oklch */ color: oklch(46.9% 0.217 284.0);
Tailwind
colors: {
  custom: {
    50: '#9270dd',
    500: '#5535cc',
    950: '#000000',
  },
}
SCSS
$custom: #5535cc;
$custom-light: #9270dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5535cc",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 252.715,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4688,
    "c": 0.21682,
    "h": 284
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#5535CC
secondary
#C2D08D
accent
#E345C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5535CC

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

Preview Lab → · Contrast checker → · Palette generator →

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