#5638CD#5638CD

#5638CD is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.4% C 0.215 H 283.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#5638CD
RGBrgb(86, 56, 205)
HSLhsl(252, 60%, 51%)
HSVhsv(252, 73%, 80%)
CMYKcmyk(58%, 72.7%, 0%, 19.6%)
CIE-LABlab(36.39, 51.78, -72.41)
CIE-LCHlch(36.39, 89.02, 305.57°)
OKLaboklab(47.44% 0.0514 -0.2086)
OKLCHoklch(47.44% 0.215 283.8)
XYZxyz(16.2680, 9.2135, 58.6669)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5638CD #AFCD38
analogous
#3864CD #5638CD #A138CD
triadic
#5638CD #CD5638 #38CD56
tetradic
#5638CD #CD3864 #AFCD38 #38CDA1
square
#5638CD #CD3864 #AFCD38 #38CDA1
split-complementary
#5638CD #CDA138 #64CD38
monochromatic
#2D1C6F #4028A0 #5638CD #8069D9 #A99AE6

Accessibility & contrast

On white

7.39
#5638CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5638CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5638CD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5638CD#FFFFFF#000000##FFFFFF
##5638CD1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#0F617F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5638cd;
/* rgb */ color: rgb(86, 56, 205);
/* oklch */ color: oklch(47.4% 0.215 283.8);
Tailwind
colors: {
  custom: {
    50: '#9272dd',
    500: '#5638cd',
    950: '#000000',
  },
}
SCSS
$custom: #5638cd;
$custom-light: #9272dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5638cd",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 252.081,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.21483,
    "h": 283.8
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#5638CD
secondary
#C4D18F
accent
#E345C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5638CD

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

Preview Lab → · Contrast checker → · Palette generator →

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