#5528AF#5528AF

#5528AF is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.197 H 290.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#5528AF
RGBrgb(85, 40, 175)
HSLhsl(260, 63%, 42%)
HSVhsv(260, 77%, 69%)
CMYKcmyk(51.4%, 77.1%, 0%, 31.4%)
CIE-LABlab(30.74, 51.02, -64.03)
CIE-LCHlch(30.74, 81.86, 308.55°)
OKLaboklab(42.6% 0.0695 -0.184)
OKLCHoklch(42.6% 0.197 290.7)
XYZxyz(12.2407, 6.5435, 41.1672)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5528AF #82AF28
analogous
#283EAF #5528AF #9928AF
triadic
#5528AF #AF5528 #28AF55
tetradic
#5528AF #AF283E #82AF28 #28AF99
square
#5528AF #AF283E #82AF28 #28AF99
split-complementary
#5528AF #AF9928 #3EAF28
monochromatic
#25114B #3D1D7D #5528AF #7241D4 #9773DF

Accessibility & contrast

On white

9.10
#5528AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5528AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5528AF
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5528AF#FFFFFF#000000##FFFFFF
##5528AF1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#354E6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5528af;
/* rgb */ color: rgb(85, 40, 175);
/* oklch */ color: oklch(42.6% 0.197 290.7);
Tailwind
colors: {
  custom: {
    50: '#8e67c8',
    500: '#5528af',
    950: '#000000',
  },
}
SCSS
$custom: #5528af;
$custom-light: #8e67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5528af",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 260,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.426,
    "c": 0.19666,
    "h": 290.7
  },
  "luminance": 0.06544
}

Semantic roles & 50–950 ramp

primary
#5528AF
secondary
#A8C66D
accent
#E642AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5528AF

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

Preview Lab → · Contrast checker → · Palette generator →

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