#5534CC#5534CC

#5534CC is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.218 H 284.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5534CC
RGBrgb(85, 52, 204)
HSLhsl(253, 60%, 50%)
HSVhsv(253, 75%, 80%)
CMYKcmyk(58.3%, 74.5%, 0%, 20%)
CIE-LABlab(35.49, 53.39, -73.32)
CIE-LCHlch(35.49, 90.70, 306.06°)
OKLaboklab(46.76% 0.053 -0.2112)
OKLCHoklch(46.76% 0.218 284.1)
XYZxyz(15.8700, 8.7459, 57.9669)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5534CC #ABCC34
analogous
#345FCC #5534CC #A134CC
triadic
#5534CC #CC5534 #34CC55
tetradic
#5534CC #CC345F #ABCC34 #34CCA1
square
#5534CC #CC345F #ABCC34 #34CCA1
split-complementary
#5534CC #CCA134 #5FCC34
monochromatic
#2C1B6B #40279C #5534CC #7E65D8 #A796E5

Accessibility & contrast

On white

7.64
#5534CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5534CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5534CC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5534CC#FFFFFF#000000##FFFFFF
##5534CC1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004EC9
Tritanopia (blue-blind)
#0B5F7E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5534cc;
/* rgb */ color: rgb(85, 52, 204);
/* oklch */ color: oklch(46.8% 0.218 284.1);
Tailwind
colors: {
  custom: {
    50: '#926fdd',
    500: '#5534cc',
    950: '#000000',
  },
}
SCSS
$custom: #5534cc;
$custom-light: #926fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5534cc",
  "rgb": {
    "r": 85,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 253.026,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46755,
    "c": 0.2178,
    "h": 284.1
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#5534CC
secondary
#C1D08C
accent
#E345C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5534CC

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

Preview Lab → · Contrast checker → · Palette generator →

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