#5639C3#5639C3

#5639C3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.7% C 0.202 H 285.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5639C3
RGBrgb(86, 57, 195)
HSLhsl(253, 55%, 49%)
HSVhsv(253, 71%, 76%)
CMYKcmyk(55.9%, 70.8%, 0%, 23.5%)
CIE-LABlab(35.68, 48.32, -67.75)
CIE-LCHlch(35.68, 83.22, 305.50°)
OKLaboklab(46.66% 0.0527 -0.195)
OKLCHoklch(46.66% 0.202 285.1)
XYZxyz(15.1482, 8.8439, 52.5280)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639C3 #A6C339
analogous
#3961C3 #5639C3 #9B39C3
triadic
#5639C3 #C35639 #39C356
tetradic
#5639C3 #C33961 #A6C339 #39C39B
square
#5639C3 #C33961 #A6C339 #39C39B
split-complementary
#5639C3 #C39B39 #61C339
monochromatic
#2C1D64 #412B94 #5639C3 #7D67D2 #A696E0

Accessibility & contrast

On white

7.58
#5639C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5639C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639C3
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639C3#FFFFFF#000000##FFFFFF
##5639C31.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#225E7A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5639c3;
/* rgb */ color: rgb(86, 57, 195);
/* oklch */ color: oklch(46.7% 0.202 285.1);
Tailwind
colors: {
  custom: {
    50: '#9172d6',
    500: '#5639c3',
    950: '#000000',
  },
}
SCSS
$custom: #5639c3;
$custom-light: #9172d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5639c3",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 252.609,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46664,
    "c": 0.20193,
    "h": 285.1
  },
  "luminance": 0.08845
}

Semantic roles & 50–950 ramp

primary
#5639C3
secondary
#BECC8C
accent
#DE4ABF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5639C3

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

Preview Lab → · Contrast checker → · Palette generator →

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