#5638C3#5638C3

#5638C3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.5% C 0.203 H 285.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5638C3
RGBrgb(86, 56, 195)
HSLhsl(253, 55%, 49%)
HSVhsv(253, 71%, 76%)
CMYKcmyk(55.9%, 71.3%, 0%, 23.5%)
CIE-LABlab(35.49, 48.85, -68.06)
CIE-LCHlch(35.49, 83.78, 305.67°)
OKLaboklab(46.53% 0.0535 -0.1959)
OKLCHoklch(46.53% 0.203 285.3)
XYZxyz(15.0993, 8.7460, 52.5117)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5638C3 #A5C338
analogous
#3860C3 #5638C3 #9C38C3
triadic
#5638C3 #C35638 #38C356
tetradic
#5638C3 #C33860 #A5C338 #38C39C
square
#5638C3 #C33860 #A5C338 #38C39C
split-complementary
#5638C3 #C39C38 #60C338
monochromatic
#2C1D64 #412A93 #5638C3 #7D65D3 #A595E1

Accessibility & contrast

On white

7.64
#5638C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5638C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5638C3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5638C3#FFFFFF#000000##FFFFFF
##5638C31.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#225D7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5638c3;
/* rgb */ color: rgb(86, 56, 195);
/* oklch */ color: oklch(46.5% 0.203 285.3);
Tailwind
colors: {
  custom: {
    50: '#9171d6',
    500: '#5638c3',
    950: '#000000',
  },
}
SCSS
$custom: #5638c3;
$custom-light: #9171d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5638c3",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 252.95,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46528,
    "c": 0.20302,
    "h": 285.3
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#5638C3
secondary
#BECC8B
accent
#DF49BE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5638C3

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

Preview Lab → · Contrast checker → · Palette generator →

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