#5534BE#5534BE

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

Color values

HEX#5534BE
RGBrgb(85, 52, 190)
HSLhsl(254, 57%, 47%)
HSVhsv(254, 73%, 75%)
CMYKcmyk(55.3%, 72.6%, 0%, 25.5%)
CIE-LABlab(34.20, 49.34, -67.25)
CIE-LCHlch(34.20, 83.41, 306.27°)
OKLaboklab(45.45% 0.0563 -0.1935)
OKLCHoklch(45.45% 0.202 286.2)
XYZxyz(14.2658, 8.1042, 49.5178)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5534BE #9DBE34
analogous
#3458BE #5534BE #9A34BE
triadic
#5534BE #BE5534 #34BE55
tetradic
#5534BE #BE3458 #9DBE34 #34BE9A
square
#5534BE #BE3458 #9DBE34 #34BE9A
split-complementary
#5534BE #BE9A34 #58BE34
monochromatic
#2A1A5E #40278E #5534BE #795DD3 #A18DE0

Accessibility & contrast

On white

8.01
#5534BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5534BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5534BE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5534BE#FFFFFF#000000##FFFFFF
##5534BE1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#265976
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5534be;
/* rgb */ color: rgb(85, 52, 190);
/* oklch */ color: oklch(45.5% 0.202 286.2);
Tailwind
colors: {
  custom: {
    50: '#906fd3',
    500: '#5534be',
    950: '#000000',
  },
}
SCSS
$custom: #5534be;
$custom-light: #906fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5534be",
  "rgb": {
    "r": 85,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 254.348,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45451,
    "c": 0.20153,
    "h": 286.2
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#5534BE
secondary
#B9CA84
accent
#E048BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5534BE

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

Preview Lab → · Contrast checker → · Palette generator →

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