#5529A4#5529A4

#5529A4 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.183 H 293.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#5529A4
RGBrgb(85, 41, 164)
HSLhsl(261, 60%, 40%)
HSVhsv(261, 75%, 64%)
CMYKcmyk(48.2%, 75%, 0%, 35.7%)
CIE-LABlab(29.90, 47.54, -58.79)
CIE-LCHlch(29.90, 75.61, 308.96°)
OKLaboklab(41.7% 0.0717 -0.1686)
OKLCHoklch(41.7% 0.183 293)
XYZxyz(11.2382, 6.1971, 35.7188)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5529A4 #78A429
analogous
#293BA4 #5529A4 #9229A4
triadic
#5529A4 #A45529 #29A455
tetradic
#5529A4 #A4293B #78A429 #29A492
square
#5529A4 #A4293B #78A429 #29A492
split-complementary
#5529A4 #A49229 #3BA429
monochromatic
#221142 #3C1D73 #5529A4 #703CCE #946DDA

Accessibility & contrast

On white

9.38
#5529A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5529A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5529A4
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5529A4#FFFFFF#000000##FFFFFF
##5529A41.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#3D4A64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5529a4;
/* rgb */ color: rgb(85, 41, 164);
/* oklch */ color: oklch(41.7% 0.183 293.0);
Tailwind
colors: {
  custom: {
    50: '#8d67c0',
    500: '#5529a4',
    950: '#000000',
  },
}
SCSS
$custom: #5529a4;
$custom-light: #8d67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5529a4",
  "rgb": {
    "r": 85,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 261.463,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41703,
    "c": 0.18321,
    "h": 293
  },
  "luminance": 0.06198
}

Semantic roles & 50–950 ramp

primary
#5529A4
secondary
#A1C168
accent
#E345AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5529A4

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

Preview Lab → · Contrast checker → · Palette generator →

#5529A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva