#5535DC#5535DC

#5535DC is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.235 H 281.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5535DC
RGBrgb(85, 53, 220)
HSLhsl(251, 70%, 54%)
HSVhsv(251, 76%, 86%)
CMYKcmyk(61.4%, 75.9%, 0%, 13.7%)
CIE-LABlab(37.19, 57.49, -79.75)
CIE-LCHlch(37.19, 98.31, 305.79°)
OKLaboklab(48.41% 0.0483 -0.23)
OKLCHoklch(48.41% 0.235 281.9)
XYZxyz(17.9336, 9.6435, 68.6126)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535DC #BCDC35
analogous
#3568DC #5535DC #A835DC
triadic
#5535DC #DC5535 #35DC55
tetradic
#5535DC #DC3568 #BCDC35 #35DCA8
square
#5535DC #DC3568 #BCDC35 #35DCA8
split-complementary
#5535DC #DCA835 #68DC35
monochromatic
#2B1680 #3C1FB5 #5535DC #8169E5 #AD9DEE

Accessibility & contrast

On white

7.17
#5535DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5535DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535DC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535DC#FFFFFF#000000##FFFFFF
##5535DC1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE1
Deuteranopia (green-blind)
#0051D9
Tritanopia (blue-blind)
#006687
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5535dc;
/* rgb */ color: rgb(85, 53, 220);
/* oklch */ color: oklch(48.4% 0.235 281.9);
Tailwind
colors: {
  custom: {
    50: '#9571e8',
    500: '#5535dc',
    950: '#000000',
  },
}
SCSS
$custom: #5535dc;
$custom-light: #9571e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5535dc",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 220
  },
  "hsl": {
    "h": 251.497,
    "s": 70.464,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.23507,
    "h": 281.9
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

primary
#5535DC
secondary
#CCDA93
accent
#ED3BCB
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5535DC

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

Preview Lab → · Contrast checker → · Palette generator →

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