#5635BF#5635BF

#5635BF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.8% C 0.202 H 286.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5635BF
RGBrgb(86, 53, 191)
HSLhsl(254, 57%, 48%)
HSVhsv(254, 72%, 75%)
CMYKcmyk(55%, 72.3%, 0%, 25.1%)
CIE-LABlab(34.57, 49.26, -67.23)
CIE-LCHlch(34.57, 83.35, 306.23°)
OKLaboklab(45.77% 0.0567 -0.1934)
OKLCHoklch(45.77% 0.202 286.3)
XYZxyz(14.5120, 8.2854, 50.1147)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635BF #9EBF35
analogous
#3559BF #5635BF #9B35BF
triadic
#5635BF #BF5635 #35BF56
tetradic
#5635BF #BF3559 #9EBF35 #35BF9B
square
#5635BF #BF3559 #9EBF35 #35BF9B
split-complementary
#5635BF #BF9B35 #59BF35
monochromatic
#2B1A5F #40288F #5635BF #7A5FD3 #A28FE0

Accessibility & contrast

On white

7.90
#5635BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5635BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5635BF#FFFFFF#000000##FFFFFF
##5635BF1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#285A77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5635bf;
/* rgb */ color: rgb(86, 53, 191);
/* oklch */ color: oklch(45.8% 0.202 286.3);
Tailwind
colors: {
  custom: {
    50: '#906fd3',
    500: '#5635bf',
    950: '#000000',
  },
}
SCSS
$custom: #5635bf;
$custom-light: #906fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5635bf",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 254.348,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45765,
    "c": 0.20155,
    "h": 286.3
  },
  "luminance": 0.08286
}

Semantic roles & 50–950 ramp

primary
#5635BF
secondary
#BACA85
accent
#E048BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5635BF

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

Preview Lab → · Contrast checker → · Palette generator →

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