#5527AF#5527AF

#5527AF is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.198 H 290.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#5527AF
RGBrgb(85, 39, 175)
HSLhsl(260, 64%, 42%)
HSVhsv(260, 78%, 69%)
CMYKcmyk(51.4%, 77.7%, 0%, 31.4%)
CIE-LABlab(30.59, 51.47, -64.29)
CIE-LCHlch(30.59, 82.35, 308.68°)
OKLaboklab(42.49% 0.0703 -0.1847)
OKLCHoklch(42.49% 0.198 290.8)
XYZxyz(12.2075, 6.4770, 41.1561)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5527AF #81AF27
analogous
#273DAF #5527AF #9927AF
triadic
#5527AF #AF5527 #27AF55
tetradic
#5527AF #AF273D #81AF27 #27AF99
square
#5527AF #AF273D #81AF27 #27AF99
split-complementary
#5527AF #AF9927 #3DAF27
monochromatic
#24114B #3D1C7D #5527AF #713FD4 #9671DF

Accessibility & contrast

On white

9.15
#5527AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5527AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5527AF
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5527AF#FFFFFF#000000##FFFFFF
##5527AF1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.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: #5527af;
/* rgb */ color: rgb(85, 39, 175);
/* oklch */ color: oklch(42.5% 0.198 290.8);
Tailwind
colors: {
  custom: {
    50: '#8e67c8',
    500: '#5527af',
    950: '#000000',
  },
}
SCSS
$custom: #5527af;
$custom-light: #8e67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5527af",
  "rgb": {
    "r": 85,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 260.294,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42489,
    "c": 0.19764,
    "h": 290.8
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#5527AF
secondary
#A8C66B
accent
#E741AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5527AF

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

Preview Lab → · Contrast checker → · Palette generator →

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