#5440AF#5440AF

#5440AF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.8% C 0.169 H 285.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5440AF
RGBrgb(84, 64, 175)
HSLhsl(251, 46%, 47%)
HSVhsv(251, 63%, 69%)
CMYKcmyk(52%, 63.4%, 0%, 31.4%)
CIE-LABlab(35.29, 38.00, -56.60)
CIE-LCHlch(35.29, 68.17, 303.88°)
OKLaboklab(45.83% 0.0463 -0.1623)
OKLCHoklch(45.83% 0.169 285.9)
XYZxyz(13.2251, 8.6461, 41.5211)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5440AF #9BAF40
analogous
#4063AF #5440AF #8C40AF
triadic
#5440AF #AF5440 #40AF54
tetradic
#5440AF #AF4063 #9BAF40 #40AF8C
square
#5440AF #AF4063 #9BAF40 #40AF8C
split-complementary
#5440AF #AF8C40 #63AF40
monochromatic
#291F55 #3E3082 #5440AF #7765C7 #9F92D7

Accessibility & contrast

On white

7.69
#5440AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5440AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5440AF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5440AF#FFFFFF#000000##FFFFFF
##5440AF1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#315B71
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5440af;
/* rgb */ color: rgb(84, 64, 175);
/* oklch */ color: oklch(45.8% 0.169 285.9);
Tailwind
colors: {
  custom: {
    50: '#8c76c8',
    500: '#5440af',
    950: '#000000',
  },
}
SCSS
$custom: #5440af;
$custom-light: #8c76c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5440af",
  "rgb": {
    "r": 84,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 250.811,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45825,
    "c": 0.16873,
    "h": 285.9
  },
  "luminance": 0.08647
}

Semantic roles & 50–950 ramp

primary
#5440AF
secondary
#B8C388
accent
#D652BE
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5440AF

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

Preview Lab → · Contrast checker → · Palette generator →

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