#5529A5#5529A5

#5529A5 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.184 H 292.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#5529A5
RGBrgb(85, 41, 165)
HSLhsl(261, 60%, 40%)
HSVhsv(261, 75%, 65%)
CMYKcmyk(48.5%, 75.2%, 0%, 35.3%)
CIE-LABlab(29.99, 47.82, -59.25)
CIE-LCHlch(29.99, 76.14, 308.91°)
OKLaboklab(41.79% 0.0714 -0.17)
OKLCHoklch(41.79% 0.184 292.8)
XYZxyz(11.3289, 6.2334, 36.1963)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5529A5 #79A529
analogous
#293BA5 #5529A5 #9329A5
triadic
#5529A5 #A55529 #29A555
tetradic
#5529A5 #A5293B #79A529 #29A593
square
#5529A5 #A5293B #79A529 #29A593
split-complementary
#5529A5 #A59329 #3BA529
monochromatic
#221143 #3C1D74 #5529A5 #703DCF #946EDB

Accessibility & contrast

On white

9.35
#5529A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5529A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5529A5
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5529A5#FFFFFF#000000##FFFFFF
##5529A51.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#3C4A65
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5529a5;
/* rgb */ color: rgb(85, 41, 165);
/* oklch */ color: oklch(41.8% 0.184 292.8);
Tailwind
colors: {
  custom: {
    50: '#8d67c1',
    500: '#5529a5',
    950: '#000000',
  },
}
SCSS
$custom: #5529a5;
$custom-light: #8d67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5529a5",
  "rgb": {
    "r": 85,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 261.29,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41794,
    "c": 0.18436,
    "h": 292.8
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#5529A5
secondary
#A2C268
accent
#E344AB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5529A5

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

Preview Lab → · Contrast checker → · Palette generator →

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