#5534C5#5534C5

#5534C5 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.210 H 285.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5534C5
RGBrgb(85, 52, 197)
HSLhsl(254, 58%, 49%)
HSVhsv(254, 74%, 77%)
CMYKcmyk(56.9%, 73.6%, 0%, 22.7%)
CIE-LABlab(34.84, 51.37, -70.31)
CIE-LCHlch(34.84, 87.08, 306.15°)
OKLaboklab(46.1% 0.0547 -0.2024)
OKLCHoklch(46.1% 0.21 285.1)
XYZxyz(15.0493, 8.4176, 53.6443)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5534C5 #A4C534
analogous
#345CC5 #5534C5 #9E34C5
triadic
#5534C5 #C55534 #34C555
tetradic
#5534C5 #C5345C #A4C534 #34C59E
square
#5534C5 #C5345C #A4C534 #34C59E
split-complementary
#5534C5 #C59E34 #5CC534
monochromatic
#2B1A64 #402795 #5534C5 #7B61D5 #A491E2

Accessibility & contrast

On white

7.83
#5534C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5534C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5534C5
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5534C5#FFFFFF#000000##FFFFFF
##5534C51.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004DC2
Tritanopia (blue-blind)
#1C5C7A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5534c5;
/* rgb */ color: rgb(85, 52, 197);
/* oklch */ color: oklch(46.1% 0.210 285.1);
Tailwind
colors: {
  custom: {
    50: '#916fd8',
    500: '#5534c5',
    950: '#000000',
  },
}
SCSS
$custom: #5534c5;
$custom-light: #916fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5534c5",
  "rgb": {
    "r": 85,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 253.655,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46098,
    "c": 0.20971,
    "h": 285.1
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#5534C5
secondary
#BDCD88
accent
#E146BE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5534C5

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

Preview Lab → · Contrast checker → · Palette generator →

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