#5535BC#5535BC

#5535BC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.198 H 286.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5535BC
RGBrgb(85, 53, 188)
HSLhsl(254, 56%, 47%)
HSVhsv(254, 72%, 74%)
CMYKcmyk(54.8%, 71.8%, 0%, 26.3%)
CIE-LABlab(34.21, 48.24, -66.06)
CIE-LCHlch(34.21, 81.80, 306.14°)
OKLaboklab(45.4% 0.0559 -0.19)
OKLCHoklch(45.4% 0.198 286.4)
XYZxyz(14.0938, 8.1076, 48.3895)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535BC #9CBC35
analogous
#3559BC #5535BC #9935BC
triadic
#5535BC #BC5535 #35BC55
tetradic
#5535BC #BC3559 #9CBC35 #35BC99
square
#5535BC #BC3559 #9CBC35 #35BC99
split-complementary
#5535BC #BC9935 #59BC35
monochromatic
#2A1A5D #3F288C #5535BC #785DD1 #A08DDF

Accessibility & contrast

On white

8.01
#5535BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5535BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535BC
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535BC#FFFFFF#000000##FFFFFF
##5535BC1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#285975
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5535bc;
/* rgb */ color: rgb(85, 53, 188);
/* oklch */ color: oklch(45.4% 0.198 286.4);
Tailwind
colors: {
  custom: {
    50: '#8f6fd1',
    500: '#5535bc',
    950: '#000000',
  },
}
SCSS
$custom: #5535bc;
$custom-light: #8f6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5535bc",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 254.222,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45402,
    "c": 0.19808,
    "h": 286.4
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#5535BC
secondary
#B9C984
accent
#DF48BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5535BC

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

Preview Lab → · Contrast checker → · Palette generator →

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