#5635A2#5635A2

#5635A2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.166 H 291.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#5635A2
RGBrgb(86, 53, 162)
HSLhsl(258, 51%, 42%)
HSVhsv(258, 67%, 64%)
CMYKcmyk(46.9%, 67.3%, 0%, 36.5%)
CIE-LABlab(32.11, 40.87, -53.98)
CIE-LCHlch(32.11, 67.71, 307.13°)
OKLaboklab(43.25% 0.062 -0.1545)
OKLCHoklch(43.25% 0.166 291.8)
XYZxyz(11.6306, 7.1329, 34.9394)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635A2 #81A235
analogous
#354BA2 #5635A2 #8D35A2
triadic
#5635A2 #A25635 #35A256
tetradic
#5635A2 #A2354B #81A235 #35A28D
square
#5635A2 #A2354B #81A235 #35A28D
split-complementary
#5635A2 #A28D35 #4BA235
monochromatic
#251746 #3E2674 #5635A2 #734FC5 #977DD4

Accessibility & contrast

On white

8.65
#5635A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5635A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5635A2#FFFFFF#000000##FFFFFF
##5635A21.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#3F4F67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5635a2;
/* rgb */ color: rgb(86, 53, 162);
/* oklch */ color: oklch(43.2% 0.166 291.8);
Tailwind
colors: {
  custom: {
    50: '#8c6ebe',
    500: '#5635a2',
    950: '#000000',
  },
}
SCSS
$custom: #5635a2;
$custom-light: #8c6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#5635a2",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 258.165,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43245,
    "c": 0.16648,
    "h": 291.8
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#5635A2
secondary
#A8BD75
accent
#DA4EB0
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5635A2

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

Preview Lab → · Contrast checker → · Palette generator →

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