#5535BF#5535BF

#5535BF is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.202 H 285.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5535BF
RGBrgb(85, 53, 191)
HSLhsl(254, 57%, 48%)
HSVhsv(254, 72%, 75%)
CMYKcmyk(55.5%, 72.3%, 0%, 25.1%)
CIE-LABlab(34.47, 49.11, -67.39)
CIE-LCHlch(34.47, 83.39, 306.09°)
OKLaboklab(45.67% 0.0553 -0.1939)
OKLCHoklch(45.67% 0.202 285.9)
XYZxyz(14.4206, 8.2383, 50.1104)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535BF #9FBF35
analogous
#355ABF #5535BF #9A35BF
triadic
#5535BF #BF5535 #35BF55
tetradic
#5535BF #BF355A #9FBF35 #35BF9A
square
#5535BF #BF355A #9FBF35 #35BF9A
split-complementary
#5535BF #BF9A35 #5ABF35
monochromatic
#2A1A5F #40288F #5535BF #7A5FD3 #A18FE0

Accessibility & contrast

On white

7.93
#5535BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5535BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535BF
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535BF#FFFFFF#000000##FFFFFF
##5535BF1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#255A77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5535bf;
/* rgb */ color: rgb(85, 53, 191);
/* oklch */ color: oklch(45.7% 0.202 285.9);
Tailwind
colors: {
  custom: {
    50: '#906fd3',
    500: '#5535bf',
    950: '#000000',
  },
}
SCSS
$custom: #5535bf;
$custom-light: #906fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5535bf",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 253.913,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45674,
    "c": 0.20163,
    "h": 285.9
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#5535BF
secondary
#BACA85
accent
#E048BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5535BF

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

Preview Lab → · Contrast checker → · Palette generator →

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