#5534A2#5534A2

#5534A2 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.0% C 0.168 H 291.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#5534A2
RGBrgb(85, 52, 162)
HSLhsl(258, 51%, 42%)
HSVhsv(258, 68%, 64%)
CMYKcmyk(47.5%, 67.9%, 0%, 36.5%)
CIE-LABlab(31.80, 41.24, -54.49)
CIE-LCHlch(31.80, 68.34, 307.12°)
OKLaboklab(43% 0.0616 -0.156)
OKLCHoklch(43% 0.168 291.5)
XYZxyz(11.4941, 6.9955, 34.9201)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5534A2 #81A234
analogous
#344AA2 #5534A2 #8C34A2
triadic
#5534A2 #A25534 #34A255
tetradic
#5534A2 #A2344A #81A234 #34A28C
square
#5534A2 #A2344A #81A234 #34A28C
split-complementary
#5534A2 #A28C34 #4AA234
monochromatic
#241645 #3D2574 #5534A2 #714DC6 #967CD5

Accessibility & contrast

On white

8.75
#5534A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5534A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5534A2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5534A2#FFFFFF#000000##FFFFFF
##5534A21.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#3D4F66
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5534a2;
/* rgb */ color: rgb(85, 52, 162);
/* oklch */ color: oklch(43.0% 0.168 291.5);
Tailwind
colors: {
  custom: {
    50: '#8c6ebe',
    500: '#5534a2',
    950: '#000000',
  },
}
SCSS
$custom: #5534a2;
$custom-light: #8c6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#5534a2",
  "rgb": {
    "r": 85,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 258,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42997,
    "c": 0.16775,
    "h": 291.5
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#5534A2
secondary
#A8BE74
accent
#DB4DB0
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5534A2

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

Preview Lab → · Contrast checker → · Palette generator →

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