#552BAF#552BAF

#552BAF is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.194 H 290.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#552BAF
RGBrgb(85, 43, 175)
HSLhsl(259, 61%, 43%)
HSVhsv(259, 75%, 69%)
CMYKcmyk(51.4%, 75.4%, 0%, 31.4%)
CIE-LABlab(31.24, 49.60, -63.21)
CIE-LCHlch(31.24, 80.35, 308.12°)
OKLaboklab(42.95% 0.0672 -0.1816)
OKLCHoklch(42.95% 0.194 290.3)
XYZxyz(12.3458, 6.7537, 41.2022)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552BAF #85AF2B
analogous
#2B43AF #552BAF #972BAF
triadic
#552BAF #AF552B #2BAF55
tetradic
#552BAF #AF2B43 #85AF2B #2BAF97
square
#552BAF #AF2B43 #85AF2B #2BAF97
split-complementary
#552BAF #AF972B #43AF2B
monochromatic
#25134D #3D1F7E #552BAF #7246D1 #9877DE

Accessibility & contrast

On white

8.93
#552BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#552BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552BAF
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552BAF#FFFFFF#000000##FFFFFF
##552BAF1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#354F6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #552baf;
/* rgb */ color: rgb(85, 43, 175);
/* oklch */ color: oklch(42.9% 0.194 290.3);
Tailwind
colors: {
  custom: {
    50: '#8e69c8',
    500: '#552baf',
    950: '#000000',
  },
}
SCSS
$custom: #552baf;
$custom-light: #8e69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#552baf",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 259.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42947,
    "c": 0.19363,
    "h": 290.3
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#552BAF
secondary
#AAC570
accent
#E444B1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552BAF

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

Preview Lab → · Contrast checker → · Palette generator →

#552BAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva