#5435AB#5435AB

#5435AB is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.8% C 0.178 H 289.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5435AB
RGBrgb(84, 53, 171)
HSLhsl(256, 53%, 44%)
HSVhsv(256, 69%, 67%)
CMYKcmyk(50.9%, 69%, 0%, 32.9%)
CIE-LABlab(32.64, 43.11, -58.54)
CIE-LCHlch(32.64, 72.70, 306.37°)
OKLaboklab(43.81% 0.0577 -0.168)
OKLCHoklch(43.81% 0.178 289)
XYZxyz(12.2778, 7.3708, 39.2959)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435AB #8CAB35
analogous
#3551AB #5435AB #8F35AB
triadic
#5435AB #AB5435 #35AB54
tetradic
#5435AB #AB3551 #8CAB35 #35AB8F
square
#5435AB #AB3551 #8CAB35 #35AB8F
split-complementary
#5435AB #AB8F35 #51AB35
monochromatic
#26184E #3D277C #5435AB #7353CA #9982D8

Accessibility & contrast

On white

8.49
#5435AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##5435AB#FFFFFF#000000##FFFFFF
##5435AB1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#35536C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5435ab;
/* rgb */ color: rgb(84, 53, 171);
/* oklch */ color: oklch(43.8% 0.178 289.0);
Tailwind
colors: {
  custom: {
    50: '#8c6fc5',
    500: '#5435ab',
    950: '#000000',
  },
}
SCSS
$custom: #5435ab;
$custom-light: #8c6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5435ab",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 255.763,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43806,
    "c": 0.17761,
    "h": 289
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5435AB

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

Preview Lab → · Contrast checker → · Palette generator →

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