#5638CC#5638CC

#5638CC is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.3% C 0.214 H 284.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#5638CC
RGBrgb(86, 56, 204)
HSLhsl(252, 59%, 51%)
HSVhsv(252, 73%, 80%)
CMYKcmyk(57.8%, 72.5%, 0%, 20%)
CIE-LABlab(36.30, 51.49, -71.98)
CIE-LCHlch(36.30, 88.50, 305.58°)
OKLaboklab(47.35% 0.0516 -0.2073)
OKLCHoklch(47.35% 0.214 284)
XYZxyz(16.1477, 9.1654, 58.0332)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5638CC #AECC38
analogous
#3864CC #5638CC #A038CC
triadic
#5638CC #CC5638 #38CC56
tetradic
#5638CC #CC3864 #AECC38 #38CCA0
square
#5638CC #CC3864 #AECC38 #38CCA0
split-complementary
#5638CC #CCA038 #64CC38
monochromatic
#2D1C6E #40299E #5638CC #7F69D8 #A999E5

Accessibility & contrast

On white

7.41
#5638CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5638CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5638CC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5638CC#FFFFFF#000000##FFFFFF
##5638CC1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#12617F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5638cc;
/* rgb */ color: rgb(86, 56, 204);
/* oklch */ color: oklch(47.3% 0.214 284.0);
Tailwind
colors: {
  custom: {
    50: '#9272dd',
    500: '#5638cc',
    950: '#000000',
  },
}
SCSS
$custom: #5638cc;
$custom-light: #9272dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5638cc",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 252.162,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4735,
    "c": 0.21366,
    "h": 284
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

primary
#5638CC
secondary
#C3D18F
accent
#E245C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5638CC

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

Preview Lab → · Contrast checker → · Palette generator →

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