#5535C4#5535C4

#5535C4 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.1% C 0.208 H 285.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5535C4
RGBrgb(85, 53, 196)
HSLhsl(253, 57%, 49%)
HSVhsv(253, 73%, 77%)
CMYKcmyk(56.6%, 73%, 0%, 23.1%)
CIE-LABlab(34.93, 50.57, -69.58)
CIE-LCHlch(34.93, 86.01, 306.01°)
OKLaboklab(46.13% 0.0542 -0.2003)
OKLCHoklch(46.13% 0.208 285.1)
XYZxyz(14.9802, 8.4621, 53.0578)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535C4 #A4C435
analogous
#355CC4 #5535C4 #9D35C4
triadic
#5535C4 #C45535 #35C455
tetradic
#5535C4 #C4355C #A4C435 #35C49D
square
#5535C4 #C4355C #A4C435 #35C49D
split-complementary
#5535C4 #C49D35 #5CC435
monochromatic
#2B1B64 #402894 #5535C4 #7B62D4 #A492E1

Accessibility & contrast

On white

7.80
#5535C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5535C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535C4
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535C4#FFFFFF#000000##FFFFFF
##5535C41.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004EC1
Tritanopia (blue-blind)
#1E5C79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5535c4;
/* rgb */ color: rgb(85, 53, 196);
/* oklch */ color: oklch(46.1% 0.208 285.1);
Tailwind
colors: {
  custom: {
    50: '#9170d7',
    500: '#5535c4',
    950: '#000000',
  },
}
SCSS
$custom: #5535c4;
$custom-light: #9170d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5535c4",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 253.427,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46133,
    "c": 0.20751,
    "h": 285.1
  },
  "luminance": 0.08463
}

Semantic roles & 50–950 ramp

primary
#5535C4
secondary
#BDCC88
accent
#E147BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5535C4

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

Preview Lab → · Contrast checker → · Palette generator →

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