#5534B5#5534B5

#5534B5 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.191 H 287.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#5534B5
RGBrgb(85, 52, 181)
HSLhsl(255, 55%, 46%)
HSVhsv(255, 71%, 71%)
CMYKcmyk(53%, 71.3%, 0%, 29%)
CIE-LABlab(33.40, 46.74, -63.25)
CIE-LCHlch(33.40, 78.64, 306.46°)
OKLaboklab(44.64% 0.0582 -0.1818)
OKLCHoklch(44.64% 0.191 287.8)
XYZxyz(13.3123, 7.7228, 44.4963)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5534B5 #94B534
analogous
#3453B5 #5534B5 #9534B5
triadic
#5534B5 #B55534 #34B555
tetradic
#5534B5 #B53453 #94B534 #34B595
square
#5534B5 #B53453 #94B534 #34B595
split-complementary
#5534B5 #B59534 #53B534
monochromatic
#281956 #3F2685 #5534B5 #7657CF #9D87DC

Accessibility & contrast

On white

8.25
#5534B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5534B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5534B5
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5534B5#FFFFFF#000000##FFFFFF
##5534B51.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#2F5671
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5534b5;
/* rgb */ color: rgb(85, 52, 181);
/* oklch */ color: oklch(44.6% 0.191 287.8);
Tailwind
colors: {
  custom: {
    50: '#8e6ecc',
    500: '#5534b5',
    950: '#000000',
  },
}
SCSS
$custom: #5534b5;
$custom-light: #8e6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#5534b5",
  "rgb": {
    "r": 85,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 255.349,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44638,
    "c": 0.19086,
    "h": 287.8
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#5534B5
secondary
#B4C67F
accent
#DF49B8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5534B5

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

Preview Lab → · Contrast checker → · Palette generator →

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