#5534BD#5534BD

#5534BD is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.4% C 0.200 H 286.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5534BD
RGBrgb(85, 52, 189)
HSLhsl(254, 57%, 47%)
HSVhsv(254, 72%, 74%)
CMYKcmyk(55%, 72.5%, 0%, 25.9%)
CIE-LABlab(34.11, 49.05, -66.81)
CIE-LCHlch(34.11, 82.89, 306.29°)
OKLaboklab(45.36% 0.0565 -0.1922)
OKLCHoklch(45.36% 0.2 286.4)
XYZxyz(14.1569, 8.0606, 48.9441)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5534BD #9CBD34
analogous
#3457BD #5534BD #9A34BD
triadic
#5534BD #BD5534 #34BD55
tetradic
#5534BD #BD3457 #9CBD34 #34BD9A
square
#5534BD #BD3457 #9CBD34 #34BD9A
split-complementary
#5534BD #BD9A34 #57BD34
monochromatic
#2A1A5D #3F278D #5534BD #785CD2 #A08CDF

Accessibility & contrast

On white

8.04
#5534BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5534BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5534BD
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5534BD#FFFFFF#000000##FFFFFF
##5534BD1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#275975
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5534bd;
/* rgb */ color: rgb(85, 52, 189);
/* oklch */ color: oklch(45.4% 0.200 286.4);
Tailwind
colors: {
  custom: {
    50: '#906fd2',
    500: '#5534bd',
    950: '#000000',
  },
}
SCSS
$custom: #5534bd;
$custom-light: #906fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5534bd",
  "rgb": {
    "r": 85,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 254.453,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4536,
    "c": 0.20035,
    "h": 286.4
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5534BD

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

Preview Lab → · Contrast checker → · Palette generator →

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