#5534BF#5534BF

#5534BF is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.203 H 286.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#5534BF
RGBrgb(85, 52, 191)
HSLhsl(254, 57%, 48%)
HSVhsv(254, 73%, 75%)
CMYKcmyk(55.5%, 72.8%, 0%, 25.1%)
CIE-LABlab(34.29, 49.63, -67.69)
CIE-LCHlch(34.29, 83.94, 306.25°)
OKLaboklab(45.54% 0.0561 -0.1948)
OKLCHoklch(45.54% 0.203 286.1)
XYZxyz(14.3754, 8.1481, 50.0954)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5534BF #9EBF34
analogous
#3458BF #5534BF #9B34BF
triadic
#5534BF #BF5534 #34BF55
tetradic
#5534BF #BF3458 #9EBF34 #34BF9B
square
#5534BF #BF3458 #9EBF34 #34BF9B
split-complementary
#5534BF #BF9B34 #58BF34
monochromatic
#2A1A5F #40278F #5534BF #795DD3 #A18DE0

Accessibility & contrast

On white

7.99
#5534BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5534BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5534BF
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5534BF#FFFFFF#000000##FFFFFF
##5534BF1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#255A76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5534bf;
/* rgb */ color: rgb(85, 52, 191);
/* oklch */ color: oklch(45.5% 0.203 286.1);
Tailwind
colors: {
  custom: {
    50: '#906fd3',
    500: '#5534bf',
    950: '#000000',
  },
}
SCSS
$custom: #5534bf;
$custom-light: #906fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5534bf",
  "rgb": {
    "r": 85,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 254.245,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.2027,
    "h": 286.1
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#5534BF
secondary
#BACA84
accent
#E047BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5534BF

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

Preview Lab → · Contrast checker → · Palette generator →

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