#5526A5#5526A5

#5526A5 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.188 H 293.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#5526A5
RGBrgb(85, 38, 165)
HSLhsl(262, 63%, 40%)
HSVhsv(262, 77%, 65%)
CMYKcmyk(48.5%, 77%, 0%, 35.3%)
CIE-LABlab(29.50, 49.23, -60.06)
CIE-LCHlch(29.50, 77.66, 309.34°)
OKLaboklab(41.45% 0.0739 -0.1723)
OKLCHoklch(41.45% 0.188 293.2)
XYZxyz(11.2291, 6.0338, 36.1630)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5526A5 #76A526
analogous
#2636A5 #5526A5 #9526A5
triadic
#5526A5 #A55526 #26A555
tetradic
#5526A5 #A52636 #76A526 #26A595
square
#5526A5 #A52636 #76A526 #26A595
split-complementary
#5526A5 #A59526 #36A526
monochromatic
#220F42 #3B1B73 #5526A5 #7037D1 #9469DC

Accessibility & contrast

On white

9.52
#5526A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5526A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5526A5
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5526A5#FFFFFF#000000##FFFFFF
##5526A51.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#3C4964
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5526a5;
/* rgb */ color: rgb(85, 38, 165);
/* oklch */ color: oklch(41.4% 0.188 293.2);
Tailwind
colors: {
  custom: {
    50: '#8d66c1',
    500: '#5526a5',
    950: '#000000',
  },
}
SCSS
$custom: #5526a5;
$custom-light: #8d66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5526a5",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 262.205,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41445,
    "c": 0.18751,
    "h": 293.2
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#5526A5
secondary
#A0C364
accent
#E642A9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5526A5

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

Preview Lab → · Contrast checker → · Palette generator →

#5526A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva