#5630A4#5630A4

#5630A4 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.175 H 292.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#5630A4
RGBrgb(86, 48, 164)
HSLhsl(260, 55%, 42%)
HSVhsv(260, 71%, 64%)
CMYKcmyk(47.6%, 70.7%, 0%, 35.7%)
CIE-LABlab(31.28, 44.16, -56.53)
CIE-LCHlch(31.28, 71.74, 308.00°)
OKLaboklab(42.71% 0.0667 -0.162)
OKLCHoklch(42.71% 0.175 292.4)
XYZxyz(11.5937, 6.7723, 35.8111)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630A4 #7EA430
analogous
#3044A4 #5630A4 #9030A4
triadic
#5630A4 #A45630 #30A456
tetradic
#5630A4 #A43044 #7EA430 #30A490
square
#5630A4 #A43044 #7EA430 #30A490
split-complementary
#5630A4 #A49030 #44A430
monochromatic
#241445 #3D2275 #5630A4 #7248C9 #9777D7

Accessibility & contrast

On white

8.92
#5630A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5630A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5630A4
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5630A4#FFFFFF#000000##FFFFFF
##5630A41.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#3E4D66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5630a4;
/* rgb */ color: rgb(86, 48, 164);
/* oklch */ color: oklch(42.7% 0.175 292.4);
Tailwind
colors: {
  custom: {
    50: '#8d6bc0',
    500: '#5630a4',
    950: '#000000',
  },
}
SCSS
$custom: #5630a4;
$custom-light: #8d6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#5630a4",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 259.655,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42706,
    "c": 0.17519,
    "h": 292.4
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#5630A4
secondary
#A6BF70
accent
#DE4AAD
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5630A4

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

Preview Lab → · Contrast checker → · Palette generator →

#5630A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva