#5635AC#5635AC

#5635AC is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.179 H 289.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#5635AC
RGBrgb(86, 53, 172)
HSLhsl(257, 53%, 44%)
HSVhsv(257, 69%, 67%)
CMYKcmyk(50%, 69.2%, 0%, 32.5%)
CIE-LABlab(32.92, 43.76, -58.66)
CIE-LCHlch(32.92, 73.18, 306.72°)
OKLaboklab(44.09% 0.0604 -0.1683)
OKLCHoklch(44.09% 0.179 289.8)
XYZxyz(12.5551, 7.5027, 39.8084)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635AC #8BAC35
analogous
#354FAC #5635AC #9235AC
triadic
#5635AC #AC5635 #35AC56
tetradic
#5635AC #AC354F #8BAC35 #35AC92
square
#5635AC #AC354F #8BAC35 #35AC92
split-complementary
#5635AC #AC9235 #4FAC35
monochromatic
#27184E #3F277D #5635AC #7554CA #9B83D9

Accessibility & contrast

On white

8.40
#5635AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5635AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5635AC#FFFFFF#000000##FFFFFF
##5635AC1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#39536C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5635ac;
/* rgb */ color: rgb(86, 53, 172);
/* oklch */ color: oklch(44.1% 0.179 289.8);
Tailwind
colors: {
  custom: {
    50: '#8e6fc6',
    500: '#5635ac',
    950: '#000000',
  },
}
SCSS
$custom: #5635ac;
$custom-light: #8e6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5635ac",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 256.639,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44087,
    "c": 0.17878,
    "h": 289.8
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5635AC

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

Preview Lab → · Contrast checker → · Palette generator →

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