#5634B5#5634B5

#5634B5 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.7% C 0.191 H 288.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5634B5
RGBrgb(86, 52, 181)
HSLhsl(256, 55%, 46%)
HSVhsv(256, 71%, 71%)
CMYKcmyk(52.5%, 71.3%, 0%, 29%)
CIE-LABlab(33.50, 46.90, -63.08)
CIE-LCHlch(33.50, 78.60, 306.63°)
OKLaboklab(44.73% 0.0597 -0.1812)
OKLCHoklch(44.73% 0.191 288.2)
XYZxyz(13.4038, 7.7700, 44.5006)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634B5 #93B534
analogous
#3452B5 #5634B5 #9634B5
triadic
#5634B5 #B55634 #34B556
tetradic
#5634B5 #B53452 #93B534 #34B596
square
#5634B5 #B53452 #93B534 #34B596
split-complementary
#5634B5 #B59634 #52B534
monochromatic
#291956 #3F2685 #5634B5 #7757CF #9D87DC

Accessibility & contrast

On white

8.22
#5634B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5634B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634B5
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634B5#FFFFFF#000000##FFFFFF
##5634B51.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#325671
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5634b5;
/* rgb */ color: rgb(86, 52, 181);
/* oklch */ color: oklch(44.7% 0.191 288.2);
Tailwind
colors: {
  custom: {
    50: '#8f6ecc',
    500: '#5634b5',
    950: '#000000',
  },
}
SCSS
$custom: #5634b5;
$custom-light: #8f6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#5634b5",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 255.814,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44734,
    "c": 0.1908,
    "h": 288.2
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#5634B5
secondary
#B3C67F
accent
#DF49B7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5634B5

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

Preview Lab → · Contrast checker → · Palette generator →

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