#5638AE#5638AE

#5638AE is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.178 H 288.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5638AE
RGBrgb(86, 56, 174)
HSLhsl(255, 51%, 45%)
HSVhsv(255, 68%, 68%)
CMYKcmyk(50.6%, 67.8%, 0%, 31.8%)
CIE-LABlab(33.69, 42.69, -58.60)
CIE-LCHlch(33.69, 72.50, 306.07°)
OKLaboklab(44.69% 0.0572 -0.1681)
OKLCHoklch(44.69% 0.178 288.8)
XYZxyz(12.8897, 7.8622, 40.8746)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5638AE #90AE38
analogous
#3855AE #5638AE #9138AE
triadic
#5638AE #AE5638 #38AE56
tetradic
#5638AE #AE3855 #90AE38 #38AE91
square
#5638AE #AE3855 #90AE38 #38AE91
split-complementary
#5638AE #AE9138 #55AE38
monochromatic
#281A51 #3F2980 #5638AE #7659CA #9C88D9

Accessibility & contrast

On white

8.16
#5638AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5638AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5638AE
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5638AE#FFFFFF#000000##FFFFFF
##5638AE1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#37566E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5638ae;
/* rgb */ color: rgb(86, 56, 174);
/* oklch */ color: oklch(44.7% 0.178 288.8);
Tailwind
colors: {
  custom: {
    50: '#8e71c7',
    500: '#5638ae',
    950: '#000000',
  },
}
SCSS
$custom: #5638ae;
$custom-light: #8e71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5638ae",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 255.254,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4469,
    "c": 0.17755,
    "h": 288.8
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#5638AE
secondary
#B2C37F
accent
#DB4DB7
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5638AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5638AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva