#5535BE#5535BE

#5535BE is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.6% C 0.200 H 286.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5535BE
RGBrgb(85, 53, 190)
HSLhsl(254, 56%, 48%)
HSVhsv(254, 72%, 75%)
CMYKcmyk(55.3%, 72.1%, 0%, 25.5%)
CIE-LABlab(34.38, 48.82, -66.95)
CIE-LCHlch(34.38, 82.86, 306.10°)
OKLaboklab(45.58% 0.0555 -0.1926)
OKLCHoklch(45.58% 0.2 286.1)
XYZxyz(14.3109, 8.1944, 49.5328)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535BE #9EBE35
analogous
#3559BE #5535BE #9A35BE
triadic
#5535BE #BE5535 #35BE55
tetradic
#5535BE #BE3559 #9EBE35 #35BE9A
square
#5535BE #BE3559 #9EBE35 #35BE9A
split-complementary
#5535BE #BE9A35 #59BE35
monochromatic
#2A1A5E #40288E #5535BE #795ED2 #A18EDF

Accessibility & contrast

On white

7.96
#5535BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5535BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535BE
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535BE#FFFFFF#000000##FFFFFF
##5535BE1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#265A76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5535be;
/* rgb */ color: rgb(85, 53, 190);
/* oklch */ color: oklch(45.6% 0.200 286.1);
Tailwind
colors: {
  custom: {
    50: '#906fd3',
    500: '#5535be',
    950: '#000000',
  },
}
SCSS
$custom: #5535be;
$custom-light: #906fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5535be",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 254.015,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.20045,
    "h": 286.1
  },
  "luminance": 0.08195
}

Semantic roles & 50–950 ramp

primary
#5535BE
secondary
#BACA85
accent
#E048BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5535BE

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

Preview Lab → · Contrast checker → · Palette generator →

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