#5526C7#5526C7

#5526C7 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.7% C 0.225 H 286.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#5526C7
RGBrgb(85, 38, 199)
HSLhsl(258, 68%, 46%)
HSVhsv(258, 81%, 78%)
CMYKcmyk(57.3%, 80.9%, 0%, 22%)
CIE-LABlab(32.79, 58.37, -74.85)
CIE-LCHlch(32.79, 94.92, 307.94°)
OKLaboklab(44.73% 0.0634 -0.2156)
OKLCHoklch(44.73% 0.225 286.4)
XYZxyz(14.7451, 7.4402, 54.6809)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5526C7 #98C726
analogous
#2647C7 #5526C7 #A626C7
triadic
#5526C7 #C75526 #26C755
tetradic
#5526C7 #C72647 #98C726 #26C7A6
square
#5526C7 #C72647 #98C726 #26C7A6
split-complementary
#5526C7 #C7A626 #47C726
monochromatic
#291260 #3F1C94 #5526C7 #774DDD #9E81E7

Accessibility & contrast

On white

8.44
#5526C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5526C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5526C7
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5526C7#FFFFFF#000000##FFFFFF
##5526C71.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CB
Deuteranopia (green-blind)
#0048C4
Tritanopia (blue-blind)
#1A5778
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5526c7;
/* rgb */ color: rgb(85, 38, 199);
/* oklch */ color: oklch(44.7% 0.225 286.4);
Tailwind
colors: {
  custom: {
    50: '#9268d9',
    500: '#5526c7',
    950: '#000000',
  },
}
SCSS
$custom: #5526c7;
$custom-light: #9268d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5526c7",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 257.516,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44725,
    "c": 0.22472,
    "h": 286.4
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#5526C7
secondary
#B6CF79
accent
#EB3DB8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5526C7

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

Preview Lab → · Contrast checker → · Palette generator →

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