#5525B0#5525B0

#5525B0 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.4% C 0.201 H 290.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#5525B0
RGBrgb(85, 37, 176)
HSLhsl(261, 65%, 42%)
HSVhsv(261, 79%, 69%)
CMYKcmyk(51.7%, 79%, 0%, 31%)
CIE-LABlab(30.37, 52.63, -65.24)
CIE-LCHlch(30.37, 83.82, 308.89°)
OKLaboklab(42.37% 0.0714 -0.1875)
OKLCHoklch(42.37% 0.201 290.9)
XYZxyz(12.2421, 6.3885, 41.6539)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5525B0 #80B025
analogous
#253BB0 #5525B0 #9A25B0
triadic
#5525B0 #B05525 #25B055
tetradic
#5525B0 #B0253B #80B025 #25B09A
square
#5525B0 #B0253B #80B025 #25B09A
split-complementary
#5525B0 #B09A25 #3BB025
monochromatic
#24104B #3D1A7D #5525B0 #713CD6 #966FE1

Accessibility & contrast

On white

9.22
#5525B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5525B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5525B0
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5525B0#FFFFFF#000000##FFFFFF
##5525B01.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#354D6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5525b0;
/* rgb */ color: rgb(85, 37, 176);
/* oklch */ color: oklch(42.4% 0.201 290.9);
Tailwind
colors: {
  custom: {
    50: '#8f66c9',
    500: '#5525b0',
    950: '#000000',
  },
}
SCSS
$custom: #5525b0;
$custom-light: #8f66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5525b0",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 260.719,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42369,
    "c": 0.20063,
    "h": 290.9
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#5525B0
secondary
#A7C76A
accent
#E840AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5525B0

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

Preview Lab → · Contrast checker → · Palette generator →

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