#5744AF#5744AF

#5744AF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 46.8% C 0.163 H 286.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5744AF
RGBrgb(87, 68, 175)
HSLhsl(251, 44%, 48%)
HSVhsv(251, 61%, 69%)
CMYKcmyk(50.3%, 61.1%, 0%, 31.4%)
CIE-LABlab(36.47, 36.20, -54.67)
CIE-LCHlch(36.47, 65.57, 303.51°)
OKLaboklab(46.75% 0.0461 -0.1565)
OKLCHoklch(46.75% 0.163 286.4)
XYZxyz(13.7332, 9.2550, 41.6119)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5744AF #9CAF44
analogous
#4467AF #5744AF #8C44AF
triadic
#5744AF #AF5744 #44AF57
tetradic
#5744AF #AF4467 #9CAF44 #44AF8C
square
#5744AF #AF4467 #9CAF44 #44AF8C
split-complementary
#5744AF #AF8C44 #67AF44
monochromatic
#2B2257 #413383 #5744AF #7B6BC5 #A297D7

Accessibility & contrast

On white

7.37
#5744AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5744AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5744AF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5744AF#FFFFFF#000000##FFFFFF
##5744AF1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#375D73
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5744af;
/* rgb */ color: rgb(87, 68, 175);
/* oklch */ color: oklch(46.8% 0.163 286.4);
Tailwind
colors: {
  custom: {
    50: '#8e79c8',
    500: '#5744af',
    950: '#000000',
  },
}
SCSS
$custom: #5744af;
$custom-light: #8e79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5744af",
  "rgb": {
    "r": 87,
    "g": 68,
    "b": 175
  },
  "hsl": {
    "h": 250.654,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46751,
    "c": 0.16315,
    "h": 286.4
  },
  "luminance": 0.09256
}

Semantic roles & 50–950 ramp

primary
#5744AF
secondary
#B9C28C
accent
#D454BD
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5744AF

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

Preview Lab → · Contrast checker → · Palette generator →

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