#5525BC#5525BC

#5525BC is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.214 H 288.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#5525BC
RGBrgb(85, 37, 188)
HSLhsl(259, 67%, 44%)
HSVhsv(259, 80%, 74%)
CMYKcmyk(54.8%, 80.3%, 0%, 26.3%)
CIE-LABlab(31.54, 55.84, -70.44)
CIE-LCHlch(31.54, 89.89, 308.40°)
OKLaboklab(43.53% 0.0676 -0.2027)
OKLCHoklch(43.53% 0.214 288.4)
XYZxyz(13.4823, 6.8846, 48.1856)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5525BC #8CBC25
analogous
#2541BC #5525BC #A125BC
triadic
#5525BC #BC5525 #25BC55
tetradic
#5525BC #BC2541 #8CBC25 #25BCA1
square
#5525BC #BC2541 #8CBC25 #25BCA1
split-complementary
#5525BC #BCA125 #41BC25
monochromatic
#271156 #3E1B89 #5525BC #7444DA #9A77E4

Accessibility & contrast

On white

8.83
#5525BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5525BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5525BC
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5525BC#FFFFFF#000000##FFFFFF
##5525BC1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#2A5271
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5525bc;
/* rgb */ color: rgb(85, 37, 188);
/* oklch */ color: oklch(43.5% 0.214 288.4);
Tailwind
colors: {
  custom: {
    50: '#9167d1',
    500: '#5525bc',
    950: '#000000',
  },
}
SCSS
$custom: #5525bc;
$custom-light: #9167d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5525bc",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 259.073,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43534,
    "c": 0.21368,
    "h": 288.4
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#5525BC
secondary
#AFCC71
accent
#EA3EB3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5525BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5525BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva