#5532AF#5532AF

#5532AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.186 H 289.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#5532AF
RGBrgb(85, 50, 175)
HSLhsl(257, 56%, 44%)
HSVhsv(257, 71%, 69%)
CMYKcmyk(51.4%, 71.4%, 0%, 31.4%)
CIE-LABlab(32.50, 46.06, -61.15)
CIE-LCHlch(32.50, 76.56, 306.99°)
OKLaboklab(43.84% 0.0612 -0.1756)
OKLCHoklch(43.84% 0.186 289.2)
XYZxyz(12.6225, 7.3071, 41.2944)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5532AF #8CAF32
analogous
#324EAF #5532AF #9432AF
triadic
#5532AF #AF5532 #32AF55
tetradic
#5532AF #AF324E #8CAF32 #32AF94
square
#5532AF #AF324E #8CAF32 #32AF94
split-complementary
#5532AF #AF9432 #4EAF32
monochromatic
#271750 #3E247F #5532AF #7451CD #9A81DB

Accessibility & contrast

On white

8.53
#5532AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5532AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5532AF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5532AF#FFFFFF#000000##FFFFFF
##5532AF1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#34536D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5532af;
/* rgb */ color: rgb(85, 50, 175);
/* oklch */ color: oklch(43.8% 0.186 289.2);
Tailwind
colors: {
  custom: {
    50: '#8e6dc8',
    500: '#5532af',
    950: '#000000',
  },
}
SCSS
$custom: #5532af;
$custom-light: #8e6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5532af",
  "rgb": {
    "r": 85,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 256.8,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43835,
    "c": 0.18597,
    "h": 289.2
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#5532AF
secondary
#AFC479
accent
#DF49B5
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5532AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5532AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva