#5638BF#5638BF

#5638BF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.198 H 285.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5638BF
RGBrgb(86, 56, 191)
HSLhsl(253, 55%, 48%)
HSVhsv(253, 71%, 75%)
CMYKcmyk(55%, 70.7%, 0%, 25.1%)
CIE-LABlab(35.14, 47.68, -66.30)
CIE-LCHlch(35.14, 81.66, 305.72°)
OKLaboklab(46.17% 0.0543 -0.1907)
OKLCHoklch(46.17% 0.198 285.9)
XYZxyz(14.6531, 8.5676, 50.1617)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5638BF #A1BF38
analogous
#385DBF #5638BF #9938BF
triadic
#5638BF #BF5638 #38BF56
tetradic
#5638BF #BF385D #A1BF38 #38BF99
square
#5638BF #BF385D #A1BF38 #38BF99
split-complementary
#5638BF #BF9938 #5DBF38
monochromatic
#2B1C60 #412A90 #5638BF #7B63D1 #A392DF

Accessibility & contrast

On white

7.74
#5638BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5638BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5638BF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5638BF#FFFFFF#000000##FFFFFF
##5638BF1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#275C77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5638bf;
/* rgb */ color: rgb(86, 56, 191);
/* oklch */ color: oklch(46.2% 0.198 285.9);
Tailwind
colors: {
  custom: {
    50: '#9071d3',
    500: '#5638bf',
    950: '#000000',
  },
}
SCSS
$custom: #5638bf;
$custom-light: #9071d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5638bf",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 253.333,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46169,
    "c": 0.19825,
    "h": 285.9
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#5638BF
secondary
#BCCA89
accent
#DE4ABD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5638BF

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

Preview Lab → · Contrast checker → · Palette generator →

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