#5535B5#5535B5

#5535B5 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.190 H 287.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5535B5
RGBrgb(85, 53, 181)
HSLhsl(255, 55%, 46%)
HSVhsv(255, 71%, 71%)
CMYKcmyk(53%, 70.7%, 0%, 29%)
CIE-LABlab(33.59, 46.20, -62.93)
CIE-LCHlch(33.59, 78.07, 306.28°)
OKLaboklab(44.78% 0.0573 -0.1808)
OKLCHoklch(44.78% 0.19 287.6)
XYZxyz(13.3574, 7.8130, 44.5113)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535B5 #95B535
analogous
#3555B5 #5535B5 #9535B5
triadic
#5535B5 #B55535 #35B555
tetradic
#5535B5 #B53555 #95B535 #35B595
square
#5535B5 #B53555 #95B535 #35B595
split-complementary
#5535B5 #B59535 #55B535
monochromatic
#291956 #3F2786 #5535B5 #7659CE #9D88DC

Accessibility & contrast

On white

8.19
#5535B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5535B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535B5
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535B5#FFFFFF#000000##FFFFFF
##5535B51.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#2F5771
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5535b5;
/* rgb */ color: rgb(85, 53, 181);
/* oklch */ color: oklch(44.8% 0.190 287.6);
Tailwind
colors: {
  custom: {
    50: '#8e6fcc',
    500: '#5535b5',
    950: '#000000',
  },
}
SCSS
$custom: #5535b5;
$custom-light: #8e6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#5535b5",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 255,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44775,
    "c": 0.18971,
    "h": 287.6
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#5535B5
secondary
#B5C680
accent
#DE4AB9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5535B5

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

Preview Lab → · Contrast checker → · Palette generator →

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