#5635A3#5635A3

#5635A3 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.3% C 0.168 H 291.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5635A3
RGBrgb(86, 53, 163)
HSLhsl(258, 51%, 42%)
HSVhsv(258, 67%, 64%)
CMYKcmyk(47.2%, 67.5%, 0%, 36.1%)
CIE-LABlab(32.19, 41.16, -54.45)
CIE-LCHlch(32.19, 68.26, 307.08°)
OKLaboklab(43.33% 0.0618 -0.1559)
OKLCHoklch(43.33% 0.168 291.6)
XYZxyz(11.7199, 7.1686, 35.4094)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635A3 #82A335
analogous
#354BA3 #5635A3 #8D35A3
triadic
#5635A3 #A35635 #35A356
tetradic
#5635A3 #A3354B #82A335 #35A38D
square
#5635A3 #A3354B #82A335 #35A38D
split-complementary
#5635A3 #A38D35 #4BA335
monochromatic
#251747 #3E2675 #5635A3 #734FC6 #987ED5

Accessibility & contrast

On white

8.63
#5635A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##5635A3#FFFFFF#000000##FFFFFF
##5635A31.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#3E5067
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5635a3;
/* rgb */ color: rgb(86, 53, 163);
/* oklch */ color: oklch(43.3% 0.168 291.6);
Tailwind
colors: {
  custom: {
    50: '#8c6ebf',
    500: '#5635a3',
    950: '#000000',
  },
}
SCSS
$custom: #5635a3;
$custom-light: #8c6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#5635a3",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 258,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43328,
    "c": 0.16772,
    "h": 291.6
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#5635A3
secondary
#A8BE76
accent
#DA4DB0
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5635A3

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

Preview Lab → · Contrast checker → · Palette generator →

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