#5528E2#5528E2

#5528E2 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.7% C 0.252 H 282.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5528E2
RGBrgb(85, 40, 226)
HSLhsl(255, 76%, 52%)
HSVhsv(255, 82%, 89%)
CMYKcmyk(62.4%, 82.3%, 0%, 11.4%)
CIE-LABlab(35.87, 64.78, -85.38)
CIE-LCHlch(35.87, 107.18, 307.19°)
OKLaboklab(47.67% 0.0534 -0.2463)
OKLCHoklch(47.67% 0.252 282.2)
XYZxyz(18.2283, 8.9385, 72.7015)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5528E2 #B5E228
analogous
#2858E2 #5528E2 #B228E2
triadic
#5528E2 #E25528 #28E255
tetradic
#5528E2 #E22858 #B5E228 #28E2B2
square
#5528E2 #E22858 #B5E228 #28E2B2
split-complementary
#5528E2 #E2B228 #58E228
monochromatic
#2C117F #3E18B4 #5528E2 #805EE9 #AA94F1

Accessibility & contrast

On white

7.53
#5528E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5528E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5528E2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5528E2#FFFFFF#000000##FFFFFF
##5528E21.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE7
Deuteranopia (green-blind)
#004EDF
Tritanopia (blue-blind)
#006388
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5528e2;
/* rgb */ color: rgb(85, 40, 226);
/* oklch */ color: oklch(47.7% 0.252 282.2);
Tailwind
colors: {
  custom: {
    50: '#976aed',
    500: '#5528e2',
    950: '#000000',
  },
}
SCSS
$custom: #5528e2;
$custom-light: #976aed;
$custom-dark: #000000;
JSON
{
  "hex": "#5528e2",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 226
  },
  "hsl": {
    "h": 254.516,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47672,
    "c": 0.25201,
    "h": 282.2
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#5528E2
secondary
#C8DC8A
accent
#F335C5
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #5528E2

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

Preview Lab → · Contrast checker → · Palette generator →

#5528E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva