#5638C1#5638C1

#5638C1 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.3% C 0.201 H 285.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5638C1
RGBrgb(86, 56, 193)
HSLhsl(253, 55%, 49%)
HSVhsv(253, 71%, 76%)
CMYKcmyk(55.4%, 71%, 0%, 24.3%)
CIE-LABlab(35.31, 48.27, -67.18)
CIE-LCHlch(35.31, 82.72, 305.69°)
OKLaboklab(46.35% 0.0539 -0.1933)
OKLCHoklch(46.35% 0.201 285.6)
XYZxyz(14.8747, 8.6562, 51.3288)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5638C1 #A3C138
analogous
#385FC1 #5638C1 #9B38C1
triadic
#5638C1 #C15638 #38C156
tetradic
#5638C1 #C1385F #A3C138 #38C19B
square
#5638C1 #C1385F #A3C138 #38C19B
split-complementary
#5638C1 #C19B38 #5FC138
monochromatic
#2C1C62 #412A92 #5638C1 #7C64D2 #A494E0

Accessibility & contrast

On white

7.69
#5638C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5638C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5638C1
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5638C1#FFFFFF#000000##FFFFFF
##5638C11.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#004FBE
Tritanopia (blue-blind)
#255C79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5638c1;
/* rgb */ color: rgb(86, 56, 193);
/* oklch */ color: oklch(46.3% 0.201 285.6);
Tailwind
colors: {
  custom: {
    50: '#9171d5',
    500: '#5638c1',
    950: '#000000',
  },
}
SCSS
$custom: #5638c1;
$custom-light: #9171d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5638c1",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 253.139,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46348,
    "c": 0.20064,
    "h": 285.6
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#5638C1
secondary
#BDCB8A
accent
#DE49BE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5638C1

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

Preview Lab → · Contrast checker → · Palette generator →

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