#5638CF#5638CF

#5638CF is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.217 H 283.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5638CF
RGBrgb(86, 56, 207)
HSLhsl(252, 61%, 52%)
HSVhsv(252, 73%, 81%)
CMYKcmyk(58.5%, 72.9%, 0%, 18.8%)
CIE-LABlab(36.58, 52.37, -73.27)
CIE-LCHlch(36.58, 90.06, 305.55°)
OKLaboklab(47.63% 0.0509 -0.2111)
OKLCHoklch(47.63% 0.217 283.6)
XYZxyz(16.5109, 9.3107, 59.9465)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5638CF #B1CF38
analogous
#3865CF #5638CF #A238CF
triadic
#5638CF #CF5638 #38CF56
tetradic
#5638CF #CF3865 #B1CF38 #38CFA2
square
#5638CF #CF3865 #B1CF38 #38CFA2
split-complementary
#5638CF #CFA238 #65CF38
monochromatic
#2C1B71 #4027A3 #5638CF #8069DB #AA9BE7

Accessibility & contrast

On white

7.34
#5638CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5638CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5638CF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5638CF#FFFFFF#000000##FFFFFF
##5638CF1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#0051CC
Tritanopia (blue-blind)
#076280
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5638cf;
/* rgb */ color: rgb(86, 56, 207);
/* oklch */ color: oklch(47.6% 0.217 283.6);
Tailwind
colors: {
  custom: {
    50: '#9372df',
    500: '#5638cf',
    950: '#000000',
  },
}
SCSS
$custom: #5638cf;
$custom-light: #9372df;
$custom-dark: #000000;
JSON
{
  "hex": "#5638cf",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 251.921,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47628,
    "c": 0.21716,
    "h": 283.6
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#5638CF
secondary
#C5D390
accent
#E444C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5638CF

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

Preview Lab → · Contrast checker → · Palette generator →

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