#5634B2#5634B2

#5634B2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.187 H 288.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#5634B2
RGBrgb(86, 52, 178)
HSLhsl(256, 55%, 45%)
HSVhsv(256, 71%, 70%)
CMYKcmyk(51.7%, 70.8%, 0%, 30.2%)
CIE-LABlab(33.24, 46.03, -61.72)
CIE-LCHlch(33.24, 77.00, 306.72°)
OKLaboklab(44.47% 0.0603 -0.1772)
OKLCHoklch(44.47% 0.187 288.8)
XYZxyz(13.0993, 7.6482, 42.8969)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634B2 #90B234
analogous
#3451B2 #5634B2 #9534B2
triadic
#5634B2 #B25634 #34B256
tetradic
#5634B2 #B23451 #90B234 #34B295
square
#5634B2 #B23451 #90B234 #34B295
split-complementary
#5634B2 #B29534 #51B234
monochromatic
#281853 #3F2683 #5634B2 #7656CE #9C85DB

Accessibility & contrast

On white

8.30
#5634B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5634B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634B2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634B2#FFFFFF#000000##FFFFFF
##5634B21.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5634b2;
/* rgb */ color: rgb(86, 52, 178);
/* oklch */ color: oklch(44.5% 0.187 288.8);
Tailwind
colors: {
  custom: {
    50: '#8f6eca',
    500: '#5634b2',
    950: '#000000',
  },
}
SCSS
$custom: #5634b2;
$custom-light: #8f6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#5634b2",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 256.19,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44468,
    "c": 0.18721,
    "h": 288.8
  },
  "luminance": 0.07649
}

Semantic roles & 50–950 ramp

primary
#5634B2
secondary
#B2C57D
accent
#DE4AB6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5634B2

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

Preview Lab → · Contrast checker → · Palette generator →

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