#5635B4#5635B4

#5635B4 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.188 H 288.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5635B4
RGBrgb(86, 53, 180)
HSLhsl(256, 55%, 46%)
HSVhsv(256, 71%, 71%)
CMYKcmyk(52.2%, 70.6%, 0%, 29.4%)
CIE-LABlab(33.60, 46.08, -62.31)
CIE-LCHlch(33.60, 77.50, 306.48°)
OKLaboklab(44.78% 0.059 -0.179)
OKLCHoklch(44.78% 0.188 288.2)
XYZxyz(13.3467, 7.8193, 43.9772)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635B4 #93B435
analogous
#3553B4 #5635B4 #9535B4
triadic
#5635B4 #B45635 #35B456
tetradic
#5635B4 #B43553 #93B435 #35B495
square
#5635B4 #B43553 #93B435 #35B495
split-complementary
#5635B4 #B49535 #53B435
monochromatic
#291955 #3F2785 #5635B4 #7758CE #9D88DC

Accessibility & contrast

On white

8.19
#5635B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5635B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635B4
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635B4#FFFFFF#000000##FFFFFF
##5635B41.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#335671
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5635b4;
/* rgb */ color: rgb(86, 53, 180);
/* oklch */ color: oklch(44.8% 0.188 288.2);
Tailwind
colors: {
  custom: {
    50: '#8f6fcb',
    500: '#5635b4',
    950: '#000000',
  },
}
SCSS
$custom: #5635b4;
$custom-light: #8f6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#5635b4",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 255.591,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44781,
    "c": 0.18845,
    "h": 288.2
  },
  "luminance": 0.0782
}

Semantic roles & 50–950 ramp

primary
#5635B4
secondary
#B3C67F
accent
#DE4AB7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5635B4

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

Preview Lab → · Contrast checker → · Palette generator →

#5635B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva