#5526AF#5526AF

#5526AF is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.199 H 291.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#5526AF
RGBrgb(85, 38, 175)
HSLhsl(261, 64%, 42%)
HSVhsv(261, 78%, 69%)
CMYKcmyk(51.4%, 78.3%, 0%, 31.4%)
CIE-LABlab(30.43, 51.92, -64.54)
CIE-LCHlch(30.43, 82.83, 308.81°)
OKLaboklab(42.38% 0.071 -0.1855)
OKLCHoklch(42.38% 0.199 291)
XYZxyz(12.1751, 6.4122, 41.1453)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5526AF #80AF26
analogous
#263CAF #5526AF #9A26AF
triadic
#5526AF #AF5526 #26AF55
tetradic
#5526AF #AF263C #80AF26 #26AF9A
square
#5526AF #AF263C #80AF26 #26AF9A
split-complementary
#5526AF #AF9A26 #3CAF26
monochromatic
#24104A #3D1B7D #5526AF #713DD5 #9670E0

Accessibility & contrast

On white

9.20
#5526AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5526AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5526AF
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5526AF#FFFFFF#000000##FFFFFF
##5526AF1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#354D6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5526af;
/* rgb */ color: rgb(85, 38, 175);
/* oklch */ color: oklch(42.4% 0.199 291.0);
Tailwind
colors: {
  custom: {
    50: '#8e66c8',
    500: '#5526af',
    950: '#000000',
  },
}
SCSS
$custom: #5526af;
$custom-light: #8e66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5526af",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 260.584,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4238,
    "c": 0.19859,
    "h": 291
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#5526AF
secondary
#A7C76A
accent
#E740AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5526AF

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

Preview Lab → · Contrast checker → · Palette generator →

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