#5535BB#5535BB

#5535BB is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.197 H 286.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5535BB
RGBrgb(85, 53, 187)
HSLhsl(254, 56%, 47%)
HSVhsv(254, 72%, 73%)
CMYKcmyk(54.5%, 71.7%, 0%, 26.7%)
CIE-LABlab(34.12, 47.95, -65.62)
CIE-LCHlch(34.12, 81.27, 306.16°)
OKLaboklab(45.31% 0.0561 -0.1887)
OKLCHoklch(45.31% 0.197 286.6)
XYZxyz(13.9864, 8.0646, 47.8237)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535BB #9BBB35
analogous
#3558BB #5535BB #9835BB
triadic
#5535BB #BB5535 #35BB55
tetradic
#5535BB #BB3558 #9BBB35 #35BB98
square
#5535BB #BB3558 #9BBB35 #35BB98
split-complementary
#5535BB #BB9835 #58BB35
monochromatic
#2A1A5C #3F278B #5535BB #785CD1 #A08CDE

Accessibility & contrast

On white

8.04
#5535BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5535BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535BB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535BB#FFFFFF#000000##FFFFFF
##5535BB1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#295974
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5535bb;
/* rgb */ color: rgb(85, 53, 187);
/* oklch */ color: oklch(45.3% 0.197 286.6);
Tailwind
colors: {
  custom: {
    50: '#8f6fd1',
    500: '#5535bb',
    950: '#000000',
  },
}
SCSS
$custom: #5535bb;
$custom-light: #8f6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5535bb",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 254.328,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45311,
    "c": 0.19689,
    "h": 286.6
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#5535BB
secondary
#B8C983
accent
#DF49BB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5535BB

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

Preview Lab → · Contrast checker → · Palette generator →

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