#5526B0#5526B0

#5526B0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.200 H 290.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#5526B0
RGBrgb(85, 38, 176)
HSLhsl(260, 64%, 42%)
HSVhsv(260, 78%, 69%)
CMYKcmyk(51.7%, 78.4%, 0%, 31%)
CIE-LABlab(30.52, 52.19, -64.99)
CIE-LCHlch(30.52, 83.35, 308.77°)
OKLaboklab(42.48% 0.0707 -0.1867)
OKLCHoklch(42.48% 0.2 290.7)
XYZxyz(12.2737, 6.4516, 41.6645)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5526B0 #81B026
analogous
#263CB0 #5526B0 #9A26B0
triadic
#5526B0 #B05526 #26B055
tetradic
#5526B0 #B0263C #81B026 #26B09A
square
#5526B0 #B0263C #81B026 #26B09A
split-complementary
#5526B0 #B09A26 #3CB026
monochromatic
#24104B #3D1B7E #5526B0 #713ED5 #9670E0

Accessibility & contrast

On white

9.17
#5526B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5526B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5526B0
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5526B0#FFFFFF#000000##FFFFFF
##5526B01.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#344D6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5526b0;
/* rgb */ color: rgb(85, 38, 176);
/* oklch */ color: oklch(42.5% 0.200 290.7);
Tailwind
colors: {
  custom: {
    50: '#8f66c9',
    500: '#5526b0',
    950: '#000000',
  },
}
SCSS
$custom: #5526b0;
$custom-light: #8f66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5526b0",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 260.435,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42475,
    "c": 0.19969,
    "h": 290.7
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#5526B0
secondary
#A8C76B
accent
#E740AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5526B0

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

Preview Lab → · Contrast checker → · Palette generator →

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