#5435AA#5435AA

#5435AA is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.176 H 289.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#5435AA
RGBrgb(84, 53, 170)
HSLhsl(256, 52%, 44%)
HSVhsv(256, 69%, 67%)
CMYKcmyk(50.6%, 68.8%, 0%, 33.3%)
CIE-LABlab(32.55, 42.82, -58.08)
CIE-LCHlch(32.55, 72.16, 306.40°)
OKLaboklab(43.72% 0.0579 -0.1666)
OKLCHoklch(43.72% 0.176 289.2)
XYZxyz(12.1829, 7.3328, 38.7959)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435AA #8BAA35
analogous
#3551AA #5435AA #8E35AA
triadic
#5435AA #AA5435 #35AA54
tetradic
#5435AA #AA3551 #8BAA35 #35AA8E
square
#5435AA #AA3551 #8BAA35 #35AA8E
split-complementary
#5435AA #AA8E35 #51AA35
monochromatic
#26184D #3D267B #5435AA #7253C9 #9882D8

Accessibility & contrast

On white

8.51
#5435AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5435AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5435AA
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5435AA#FFFFFF#000000##FFFFFF
##5435AA1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#36536B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5435aa;
/* rgb */ color: rgb(84, 53, 170);
/* oklch */ color: oklch(43.7% 0.176 289.2);
Tailwind
colors: {
  custom: {
    50: '#8c6fc4',
    500: '#5435aa',
    950: '#000000',
  },
}
SCSS
$custom: #5435aa;
$custom-light: #8c6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5435aa",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 255.897,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4372,
    "c": 0.17638,
    "h": 289.2
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#5435AA
secondary
#AEC17A
accent
#DC4CB6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5435AA

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

Preview Lab → · Contrast checker → · Palette generator →

#5435AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva