#5634B3#5634B3

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

Color values

HEX#5634B3
RGBrgb(86, 52, 179)
HSLhsl(256, 55%, 45%)
HSVhsv(256, 71%, 70%)
CMYKcmyk(52%, 70.9%, 0%, 29.8%)
CIE-LABlab(33.33, 46.32, -62.18)
CIE-LCHlch(33.33, 77.53, 306.69°)
OKLaboklab(44.56% 0.0601 -0.1786)
OKLCHoklch(44.56% 0.188 288.6)
XYZxyz(13.2001, 7.6885, 43.4276)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634B3 #91B334
analogous
#3451B3 #5634B3 #9534B3
triadic
#5634B3 #B35634 #34B356
tetradic
#5634B3 #B33451 #91B334 #34B395
square
#5634B3 #B33451 #91B334 #34B395
split-complementary
#5634B3 #B39534 #51B334
monochromatic
#281854 #3F2684 #5634B3 #7656CE #9D86DC

Accessibility & contrast

On white

8.27
#5634B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5634B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634B3
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634B3#FFFFFF#000000##FFFFFF
##5634B31.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#335570
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5634b3;
/* rgb */ color: rgb(86, 52, 179);
/* oklch */ color: oklch(44.6% 0.188 288.6);
Tailwind
colors: {
  custom: {
    50: '#8f6ecb',
    500: '#5634b3',
    950: '#000000',
  },
}
SCSS
$custom: #5634b3;
$custom-light: #8f6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#5634b3",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 256.063,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44557,
    "c": 0.18841,
    "h": 288.6
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#5634B3
secondary
#B2C57D
accent
#DE49B6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5634B3

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

Preview Lab → · Contrast checker → · Palette generator →

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