#5635AA#5635AA

#5635AA is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.176 H 290.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#5635AA
RGBrgb(86, 53, 170)
HSLhsl(257, 52%, 44%)
HSVhsv(257, 69%, 67%)
CMYKcmyk(49.4%, 68.8%, 0%, 33.3%)
CIE-LABlab(32.76, 43.18, -57.73)
CIE-LCHlch(32.76, 72.09, 306.80°)
OKLaboklab(43.92% 0.0608 -0.1655)
OKLCHoklch(43.92% 0.176 290.2)
XYZxyz(12.3645, 7.4264, 38.8044)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635AA #89AA35
analogous
#354EAA #5635AA #9035AA
triadic
#5635AA #AA5635 #35AA56
tetradic
#5635AA #AA354E #89AA35 #35AA90
square
#5635AA #AA354E #89AA35 #35AA90
split-complementary
#5635AA #AA9035 #4EAA35
monochromatic
#27184D #3E267B #5635AA #7453C9 #9A82D8

Accessibility & contrast

On white

8.45
#5635AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##5635AA#FFFFFF#000000##FFFFFF
##5635AA1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#3A526B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5635aa;
/* rgb */ color: rgb(86, 53, 170);
/* oklch */ color: oklch(43.9% 0.176 290.2);
Tailwind
colors: {
  custom: {
    50: '#8d6fc4',
    500: '#5635aa',
    950: '#000000',
  },
}
SCSS
$custom: #5635aa;
$custom-light: #8d6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5635aa",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 256.923,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43916,
    "c": 0.17634,
    "h": 290.2
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#5635AA
secondary
#ADC17A
accent
#DC4CB3
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5635AA

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

Preview Lab → · Contrast checker → · Palette generator →

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