#5529BA#5529BA

#5529BA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.8% C 0.208 H 288.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#5529BA
RGBrgb(85, 41, 186)
HSLhsl(258, 64%, 45%)
HSVhsv(258, 78%, 73%)
CMYKcmyk(54.3%, 78%, 0%, 27.1%)
CIE-LABlab(31.95, 53.56, -68.59)
CIE-LCHlch(31.95, 87.03, 307.98°)
OKLaboklab(43.76% 0.0656 -0.1973)
OKLCHoklch(43.76% 0.208 288.4)
XYZxyz(13.3996, 7.0617, 47.1018)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5529BA #8EBA29
analogous
#2945BA #5529BA #9E29BA
triadic
#5529BA #BA5529 #29BA55
tetradic
#5529BA #BA2945 #8EBA29 #29BA9E
square
#5529BA #BA2945 #8EBA29 #29BA9E
split-complementary
#5529BA #BA9E29 #45BA29
monochromatic
#271356 #3E1E88 #5529BA #7449D7 #9B7BE2

Accessibility & contrast

On white

8.71
#5529BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5529BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5529BA
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5529BA#FFFFFF#000000##FFFFFF
##5529BA1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#2B5371
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5529ba;
/* rgb */ color: rgb(85, 41, 186);
/* oklch */ color: oklch(43.8% 0.208 288.4);
Tailwind
colors: {
  custom: {
    50: '#9068d0',
    500: '#5529ba',
    950: '#000000',
  },
}
SCSS
$custom: #5529ba;
$custom-light: #9068d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5529ba",
  "rgb": {
    "r": 85,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 258.207,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43756,
    "c": 0.20795,
    "h": 288.4
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#5529BA
secondary
#B0CA75
accent
#E741B5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5529BA

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

Preview Lab → · Contrast checker → · Palette generator →

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