#5534B2#5534B2

#5534B2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.187 H 288.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#5534B2
RGBrgb(85, 52, 178)
HSLhsl(256, 55%, 45%)
HSVhsv(256, 71%, 70%)
CMYKcmyk(52.2%, 70.8%, 0%, 30.2%)
CIE-LABlab(33.14, 45.87, -61.89)
CIE-LCHlch(33.14, 77.03, 306.54°)
OKLaboklab(44.37% 0.0588 -0.1778)
OKLCHoklch(44.37% 0.187 288.3)
XYZxyz(13.0078, 7.6010, 42.8926)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5534B2 #91B234
analogous
#3452B2 #5534B2 #9434B2
triadic
#5534B2 #B25534 #34B255
tetradic
#5534B2 #B23452 #91B234 #34B294
square
#5534B2 #B23452 #91B234 #34B294
split-complementary
#5534B2 #B29434 #52B234
monochromatic
#281853 #3E2683 #5534B2 #7556CE #9C85DB

Accessibility & contrast

On white

8.33
#5534B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5534B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5534B2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5534B2#FFFFFF#000000##FFFFFF
##5534B21.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#32556F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5534b2;
/* rgb */ color: rgb(85, 52, 178);
/* oklch */ color: oklch(44.4% 0.187 288.3);
Tailwind
colors: {
  custom: {
    50: '#8e6eca',
    500: '#5534b2',
    950: '#000000',
  },
}
SCSS
$custom: #5534b2;
$custom-light: #8e6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#5534b2",
  "rgb": {
    "r": 85,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 255.714,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44372,
    "c": 0.18725,
    "h": 288.3
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#5534B2
secondary
#B2C57D
accent
#DE4AB7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5534B2

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

Preview Lab → · Contrast checker → · Palette generator →

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