#5635AB#5635AB

#5635AB is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.178 H 290.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5635AB
RGBrgb(86, 53, 171)
HSLhsl(257, 53%, 44%)
HSVhsv(257, 69%, 67%)
CMYKcmyk(49.7%, 69%, 0%, 32.9%)
CIE-LABlab(32.84, 43.47, -58.20)
CIE-LCHlch(32.84, 72.64, 306.76°)
OKLaboklab(44% 0.0606 -0.1669)
OKLCHoklch(44% 0.178 290)
XYZxyz(12.4594, 7.4644, 39.3045)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635AB #8AAB35
analogous
#354FAB #5635AB #9135AB
triadic
#5635AB #AB5635 #35AB56
tetradic
#5635AB #AB354F #8AAB35 #35AB91
square
#5635AB #AB354F #8AAB35 #35AB91
split-complementary
#5635AB #AB9135 #4FAB35
monochromatic
#27184E #3F277C #5635AB #7553CA #9A82D8

Accessibility & contrast

On white

8.42
#5635AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5635AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635AB
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635AB#FFFFFF#000000##FFFFFF
##5635AB1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#39536C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5635ab;
/* rgb */ color: rgb(86, 53, 171);
/* oklch */ color: oklch(44.0% 0.178 290.0);
Tailwind
colors: {
  custom: {
    50: '#8d6fc5',
    500: '#5635ab',
    950: '#000000',
  },
}
SCSS
$custom: #5635ab;
$custom-light: #8d6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5635ab",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 256.78,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44001,
    "c": 0.17756,
    "h": 290
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#5635AB
secondary
#AEC27A
accent
#DC4CB4
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5635AB

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

Preview Lab → · Contrast checker → · Palette generator →

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