#5526B1#5526B1

#5526B1 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.6% C 0.201 H 290.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#5526B1
RGBrgb(85, 38, 177)
HSLhsl(260, 65%, 42%)
HSVhsv(260, 79%, 69%)
CMYKcmyk(52%, 78.5%, 0%, 30.6%)
CIE-LABlab(30.62, 52.46, -65.43)
CIE-LCHlch(30.62, 83.86, 308.72°)
OKLaboklab(42.57% 0.0704 -0.188)
OKLCHoklch(42.57% 0.201 290.5)
XYZxyz(12.3730, 6.4913, 42.1875)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5526B1 #82B126
analogous
#263CB1 #5526B1 #9B26B1
triadic
#5526B1 #B15526 #26B155
tetradic
#5526B1 #B1263C #82B126 #26B19B
square
#5526B1 #B1263C #82B126 #26B19B
split-complementary
#5526B1 #B19B26 #3CB126
monochromatic
#25104C #3D1B7F #5526B1 #723FD6 #9771E0

Accessibility & contrast

On white

9.14
#5526B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5526B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5526B1
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5526B1#FFFFFF#000000##FFFFFF
##5526B11.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#344E6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5526b1;
/* rgb */ color: rgb(85, 38, 177);
/* oklch */ color: oklch(42.6% 0.201 290.5);
Tailwind
colors: {
  custom: {
    50: '#8f66c9',
    500: '#5526b1',
    950: '#000000',
  },
}
SCSS
$custom: #5526b1;
$custom-light: #8f66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5526b1",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 260.288,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.20079,
    "h": 290.5
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#5526B1
secondary
#A8C76B
accent
#E840AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5526B1

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

Preview Lab → · Contrast checker → · Palette generator →

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