#5643AF#5643AF

#5643AF is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.5% C 0.165 H 286.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5643AF
RGBrgb(86, 67, 175)
HSLhsl(251, 45%, 47%)
HSVhsv(251, 62%, 69%)
CMYKcmyk(50.9%, 61.7%, 0%, 31.4%)
CIE-LABlab(36.15, 36.60, -55.19)
CIE-LCHlch(36.15, 66.23, 303.55°)
OKLaboklab(46.5% 0.0458 -0.1581)
OKLCHoklch(46.5% 0.165 286.2)
XYZxyz(13.5805, 9.0872, 41.5876)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643AF #9CAF43
analogous
#4366AF #5643AF #8C43AF
triadic
#5643AF #AF5643 #43AF56
tetradic
#5643AF #AF4366 #9CAF43 #43AF8C
square
#5643AF #AF4366 #9CAF43 #43AF8C
split-complementary
#5643AF #AF8C43 #66AF43
monochromatic
#2B2156 #403283 #5643AF #7A69C6 #A196D7

Accessibility & contrast

On white

7.45
#5643AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5643AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5643AF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643AF#FFFFFF#000000##FFFFFF
##5643AF1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#355C72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5643af;
/* rgb */ color: rgb(86, 67, 175);
/* oklch */ color: oklch(46.5% 0.165 286.2);
Tailwind
colors: {
  custom: {
    50: '#8d78c8',
    500: '#5643af',
    950: '#000000',
  },
}
SCSS
$custom: #5643af;
$custom-light: #8d78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5643af",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 250.556,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46496,
    "c": 0.16458,
    "h": 286.2
  },
  "luminance": 0.09088
}

Semantic roles & 50–950 ramp

primary
#5643AF
secondary
#B9C28B
accent
#D453BE
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5643AF

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

Preview Lab → · Contrast checker → · Palette generator →

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