#5635B2#5635B2

#5635B2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.186 H 288.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#5635B2
RGBrgb(86, 53, 178)
HSLhsl(256, 54%, 45%)
HSVhsv(256, 70%, 70%)
CMYKcmyk(51.7%, 70.2%, 0%, 30.2%)
CIE-LABlab(33.43, 45.50, -61.41)
CIE-LCHlch(33.43, 76.42, 306.53°)
OKLaboklab(44.61% 0.0594 -0.1763)
OKLCHoklch(44.61% 0.186 288.6)
XYZxyz(13.1444, 7.7384, 42.9119)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635B2 #91B235
analogous
#3552B2 #5635B2 #9435B2
triadic
#5635B2 #B25635 #35B256
tetradic
#5635B2 #B23552 #91B235 #35B294
square
#5635B2 #B23552 #91B235 #35B294
split-complementary
#5635B2 #B29435 #52B235
monochromatic
#281954 #3F2783 #5635B2 #7657CD #9D86DB

Accessibility & contrast

On white

8.24
#5635B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5635B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5635B2#FFFFFF#000000##FFFFFF
##5635B21.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#34556F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5635b2;
/* rgb */ color: rgb(86, 53, 178);
/* oklch */ color: oklch(44.6% 0.186 288.6);
Tailwind
colors: {
  custom: {
    50: '#8e6fca',
    500: '#5635b2',
    950: '#000000',
  },
}
SCSS
$custom: #5635b2;
$custom-light: #8e6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#5635b2",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 255.84,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44606,
    "c": 0.18605,
    "h": 288.6
  },
  "luminance": 0.07739
}

Semantic roles & 50–950 ramp

primary
#5635B2
secondary
#B2C57E
accent
#DD4AB7
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5635B2

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

Preview Lab → · Contrast checker → · Palette generator →

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