#5530B3#5530B3

#5530B3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.193 H 288.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5530B3
RGBrgb(85, 48, 179)
HSLhsl(257, 58%, 45%)
HSVhsv(257, 73%, 70%)
CMYKcmyk(52.5%, 73.2%, 0%, 29.8%)
CIE-LABlab(32.48, 48.24, -63.57)
CIE-LCHlch(32.48, 79.80, 307.20°)
OKLaboklab(43.93% 0.0621 -0.1827)
OKLCHoklch(43.93% 0.193 288.8)
XYZxyz(12.9376, 7.2993, 43.3663)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5530B3 #8EB330
analogous
#304CB3 #5530B3 #9730B3
triadic
#5530B3 #B35530 #30B355
tetradic
#5530B3 #B3304C #8EB330 #30B397
square
#5530B3 #B3304C #8EB330 #30B397
split-complementary
#5530B3 #B39730 #4CB330
monochromatic
#271652 #3E2383 #5530B3 #7450D0 #9B80DD

Accessibility & contrast

On white

8.54
#5530B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5530B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5530B3
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5530B3#FFFFFF#000000##FFFFFF
##5530B31.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#31536F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5530b3;
/* rgb */ color: rgb(85, 48, 179);
/* oklch */ color: oklch(43.9% 0.193 288.8);
Tailwind
colors: {
  custom: {
    50: '#8e6ccb',
    500: '#5530b3',
    950: '#000000',
  },
}
SCSS
$custom: #5530b3;
$custom-light: #8e6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#5530b3",
  "rgb": {
    "r": 85,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 256.947,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43932,
    "c": 0.19292,
    "h": 288.8
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#5530B3
secondary
#B0C679
accent
#E147B5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5530B3

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

Preview Lab → · Contrast checker → · Palette generator →

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