#5435AF#5435AF

#5435AF is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.183 H 288.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#5435AF
RGBrgb(84, 53, 175)
HSLhsl(255, 54%, 45%)
HSVhsv(255, 70%, 69%)
CMYKcmyk(52%, 69.7%, 0%, 31.4%)
CIE-LABlab(32.97, 44.28, -60.38)
CIE-LCHlch(32.97, 74.88, 306.26°)
OKLaboklab(44.15% 0.057 -0.1734)
OKLCHoklch(44.15% 0.183 288.2)
XYZxyz(12.6649, 7.5256, 41.3344)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435AF #90AF35
analogous
#3553AF #5435AF #9135AF
triadic
#5435AF #AF5435 #35AF54
tetradic
#5435AF #AF3553 #90AF35 #35AF91
square
#5435AF #AF3553 #90AF35 #35AF91
split-complementary
#5435AF #AF9135 #53AF35
monochromatic
#271951 #3D2780 #5435AF #7456CC #9A85DA

Accessibility & contrast

On white

8.38
#5435AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5435AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5435AF#FFFFFF#000000##FFFFFF
##5435AF1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#32546E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5435af;
/* rgb */ color: rgb(84, 53, 175);
/* oklch */ color: oklch(44.2% 0.183 288.2);
Tailwind
colors: {
  custom: {
    50: '#8d6fc8',
    500: '#5435af',
    950: '#000000',
  },
}
SCSS
$custom: #5435af;
$custom-light: #8d6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5435af",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 255.246,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44152,
    "c": 0.18251,
    "h": 288.2
  },
  "luminance": 0.07526
}

Semantic roles & 50–950 ramp

primary
#5435AF
secondary
#B1C47C
accent
#DD4BB8
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5435AF

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

Preview Lab → · Contrast checker → · Palette generator →

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