#5530B2#5530B2

#5530B2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.192 H 289.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#5530B2
RGBrgb(85, 48, 178)
HSLhsl(257, 58%, 44%)
HSVhsv(257, 73%, 70%)
CMYKcmyk(52.2%, 73%, 0%, 30.2%)
CIE-LABlab(32.39, 47.96, -63.12)
CIE-LCHlch(32.39, 79.27, 307.23°)
OKLaboklab(43.84% 0.0623 -0.1814)
OKLCHoklch(43.84% 0.192 289)
XYZxyz(12.8368, 7.2590, 42.8356)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5530B2 #8DB230
analogous
#304CB2 #5530B2 #9630B2
triadic
#5530B2 #B25530 #30B255
tetradic
#5530B2 #B2304C #8DB230 #30B296
square
#5530B2 #B2304C #8DB230 #30B296
split-complementary
#5530B2 #B29630 #4CB230
monochromatic
#271652 #3E2382 #5530B2 #7450D0 #9A80DD

Accessibility & contrast

On white

8.56
#5530B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5530B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5530B2
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5530B2#FFFFFF#000000##FFFFFF
##5530B21.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#32536E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5530b2;
/* rgb */ color: rgb(85, 48, 178);
/* oklch */ color: oklch(43.8% 0.192 289.0);
Tailwind
colors: {
  custom: {
    50: '#8e6cca',
    500: '#5530b2',
    950: '#000000',
  },
}
SCSS
$custom: #5530b2;
$custom-light: #8e6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#5530b2",
  "rgb": {
    "r": 85,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 257.077,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43841,
    "c": 0.19176,
    "h": 289
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#5530B2
secondary
#B0C678
accent
#E147B5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5530B2

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

Preview Lab → · Contrast checker → · Palette generator →

#5530B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva