#5634BD#5634BD

#5634BD is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.200 H 286.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5634BD
RGBrgb(86, 52, 189)
HSLhsl(255, 57%, 47%)
HSVhsv(255, 72%, 74%)
CMYKcmyk(54.5%, 72.5%, 0%, 25.9%)
CIE-LABlab(34.21, 49.20, -66.65)
CIE-LCHlch(34.21, 82.84, 306.44°)
OKLaboklab(45.45% 0.058 -0.1917)
OKLCHoklch(45.45% 0.2 286.8)
XYZxyz(14.2483, 8.1078, 48.9484)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634BD #9BBD34
analogous
#3456BD #5634BD #9B34BD
triadic
#5634BD #BD5634 #34BD56
tetradic
#5634BD #BD3456 #9BBD34 #34BD9B
square
#5634BD #BD3456 #9BBD34 #34BD9B
split-complementary
#5634BD #BD9B34 #56BD34
monochromatic
#2A1A5D #40278D #5634BD #795CD2 #A18CDF

Accessibility & contrast

On white

8.01
#5634BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5634BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634BD
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634BD#FFFFFF#000000##FFFFFF
##5634BD1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#2A5975
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5634bd;
/* rgb */ color: rgb(86, 52, 189);
/* oklch */ color: oklch(45.5% 0.200 286.8);
Tailwind
colors: {
  custom: {
    50: '#906fd2',
    500: '#5634bd',
    950: '#000000',
  },
}
SCSS
$custom: #5634bd;
$custom-light: #906fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5634bd",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 254.891,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45453,
    "c": 0.20026,
    "h": 286.8
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#5634BD
secondary
#B8CA83
accent
#E048BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5634BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5634BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva