#5638C4#5638C4

#5638C4 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.6% C 0.204 H 285.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5638C4
RGBrgb(86, 56, 196)
HSLhsl(253, 56%, 49%)
HSVhsv(253, 71%, 77%)
CMYKcmyk(56.1%, 71.4%, 0%, 23.1%)
CIE-LABlab(35.58, 49.15, -68.50)
CIE-LCHlch(35.58, 84.31, 305.66°)
OKLaboklab(46.62% 0.0533 -0.1971)
OKLCHoklch(46.62% 0.204 285.1)
XYZxyz(15.2127, 8.7914, 53.1091)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5638C4 #A6C438
analogous
#3860C4 #5638C4 #9C38C4
triadic
#5638C4 #C45638 #38C456
tetradic
#5638C4 #C43860 #A6C438 #38C49C
square
#5638C4 #C43860 #A6C438 #38C49C
split-complementary
#5638C4 #C49C38 #60C438
monochromatic
#2C1D65 #412A94 #5638C4 #7D66D3 #A696E1

Accessibility & contrast

On white

7.61
#5638C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5638C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5638C4
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5638C4#FFFFFF#000000##FFFFFF
##5638C41.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#215E7A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5638c4;
/* rgb */ color: rgb(86, 56, 196);
/* oklch */ color: oklch(46.6% 0.204 285.1);
Tailwind
colors: {
  custom: {
    50: '#9171d7',
    500: '#5638c4',
    950: '#000000',
  },
}
SCSS
$custom: #5638c4;
$custom-light: #9171d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5638c4",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 252.857,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46618,
    "c": 0.20422,
    "h": 285.1
  },
  "luminance": 0.08792
}

Semantic roles & 50–950 ramp

primary
#5638C4
secondary
#BECC8C
accent
#DF49BF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5638C4

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

Preview Lab → · Contrast checker → · Palette generator →

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