#5528B3#5528B3

#5528B3 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.0% C 0.201 H 289.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#5528B3
RGBrgb(85, 40, 179)
HSLhsl(259, 63%, 43%)
HSVhsv(259, 78%, 70%)
CMYKcmyk(52.5%, 77.7%, 0%, 29.8%)
CIE-LABlab(31.12, 52.10, -65.79)
CIE-LCHlch(31.12, 83.93, 308.38°)
OKLaboklab(42.98% 0.0684 -0.1891)
OKLCHoklch(42.98% 0.201 289.9)
XYZxyz(12.6394, 6.7030, 43.2669)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5528B3 #86B328
analogous
#2841B3 #5528B3 #9A28B3
triadic
#5528B3 #B35528 #28B355
tetradic
#5528B3 #B32841 #86B328 #28B39A
square
#5528B3 #B32841 #86B328 #28B39A
split-complementary
#5528B3 #B39A28 #41B328
monochromatic
#25124F #3D1D81 #5528B3 #7243D5 #9875E0

Accessibility & contrast

On white

8.97
#5528B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5528B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5528B3
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5528B3#FFFFFF#000000##FFFFFF
##5528B31.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#324F6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5528b3;
/* rgb */ color: rgb(85, 40, 179);
/* oklch */ color: oklch(43.0% 0.201 289.9);
Tailwind
colors: {
  custom: {
    50: '#8f68cb',
    500: '#5528b3',
    950: '#000000',
  },
}
SCSS
$custom: #5528b3;
$custom-light: #8f68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5528b3",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 259.424,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42978,
    "c": 0.20111,
    "h": 289.9
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#5528B3
secondary
#ABC86F
accent
#E641B1
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5528B3

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

Preview Lab → · Contrast checker → · Palette generator →

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