#5534CF#5534CF

#5534CF is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.221 H 283.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5534CF
RGBrgb(85, 52, 207)
HSLhsl(253, 62%, 51%)
HSVhsv(253, 75%, 81%)
CMYKcmyk(58.9%, 74.9%, 0%, 18.8%)
CIE-LABlab(35.77, 54.25, -74.59)
CIE-LCHlch(35.77, 92.23, 306.03°)
OKLaboklab(47.04% 0.0523 -0.215)
OKLCHoklch(47.04% 0.221 283.7)
XYZxyz(16.2333, 8.8912, 59.8801)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5534CF #AECF34
analogous
#3460CF #5534CF #A234CF
triadic
#5534CF #CF5534 #34CF55
tetradic
#5534CF #CF3460 #AECF34 #34CFA2
square
#5534CF #CF3460 #AECF34 #34CFA2
split-complementary
#5534CF #CFA234 #60CF34
monochromatic
#2C1A6E #4026A0 #5534CF #7E65DB #A897E6

Accessibility & contrast

On white

7.56
#5534CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5534CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5534CF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5534CF#FFFFFF#000000##FFFFFF
##5534CF1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D3
Deuteranopia (green-blind)
#004FCC
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5534cf;
/* rgb */ color: rgb(85, 52, 207);
/* oklch */ color: oklch(47.0% 0.221 283.7);
Tailwind
colors: {
  custom: {
    50: '#9370df',
    500: '#5534cf',
    950: '#000000',
  },
}
SCSS
$custom: #5534cf;
$custom-light: #9370df;
$custom-dark: #000000;
JSON
{
  "hex": "#5534cf",
  "rgb": {
    "r": 85,
    "g": 52,
    "b": 207
  },
  "hsl": {
    "h": 252.774,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47041,
    "c": 0.22125,
    "h": 283.7
  },
  "luminance": 0.08892
}

Semantic roles & 50–950 ramp

primary
#5534CF
secondary
#C3D28D
accent
#E543C2
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5534CF

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

Preview Lab → · Contrast checker → · Palette generator →

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