#5534BC#5534BC

#5534BC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.199 H 286.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5534BC
RGBrgb(85, 52, 188)
HSLhsl(255, 57%, 47%)
HSVhsv(255, 72%, 74%)
CMYKcmyk(54.8%, 72.3%, 0%, 26.3%)
CIE-LABlab(34.02, 48.76, -66.37)
CIE-LCHlch(34.02, 82.36, 306.31°)
OKLaboklab(45.27% 0.0568 -0.1909)
OKLCHoklch(45.27% 0.199 286.6)
XYZxyz(14.0487, 8.0174, 48.3744)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5534BC #9BBC34
analogous
#3457BC #5534BC #9934BC
triadic
#5534BC #BC5534 #34BC55
tetradic
#5534BC #BC3457 #9BBC34 #34BC99
square
#5534BC #BC3457 #9BBC34 #34BC99
split-complementary
#5534BC #BC9934 #57BC34
monochromatic
#2A195C #3F278C #5534BC #785BD2 #A08BDF

Accessibility & contrast

On white

8.07
#5534BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5534BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5534BC
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5534BC#FFFFFF#000000##FFFFFF
##5534BC1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#285975
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5534bc;
/* rgb */ color: rgb(85, 52, 188);
/* oklch */ color: oklch(45.3% 0.199 286.6);
Tailwind
colors: {
  custom: {
    50: '#8f6fd1',
    500: '#5534bc',
    950: '#000000',
  },
}
SCSS
$custom: #5534bc;
$custom-light: #8f6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5534bc",
  "rgb": {
    "r": 85,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 254.559,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45269,
    "c": 0.19917,
    "h": 286.6
  },
  "luminance": 0.08018
}

Semantic roles & 50–950 ramp

primary
#5534BC
secondary
#B8C983
accent
#E048BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5534BC

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

Preview Lab → · Contrast checker → · Palette generator →

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