#5630AA#5630AA

#5630AA is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.182 H 291.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#5630AA
RGBrgb(86, 48, 170)
HSLhsl(259, 56%, 43%)
HSVhsv(259, 72%, 67%)
CMYKcmyk(49.4%, 71.8%, 0%, 33.3%)
CIE-LABlab(31.79, 45.85, -59.31)
CIE-LCHlch(31.79, 74.97, 307.71°)
OKLaboklab(43.23% 0.0655 -0.1701)
OKLCHoklch(43.23% 0.182 291.1)
XYZxyz(12.1483, 6.9942, 38.7323)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630AA #84AA30
analogous
#3047AA #5630AA #9330AA
triadic
#5630AA #AA5630 #30AA56
tetradic
#5630AA #AA3047 #84AA30 #30AA93
square
#5630AA #AA3047 #84AA30 #30AA93
split-complementary
#5630AA #AA9330 #47AA30
monochromatic
#26154B #3E237A #5630AA #734BCC #987BDA

Accessibility & contrast

On white

8.75
#5630AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5630AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5630AA#FFFFFF#000000##FFFFFF
##5630AA1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#3A506A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5630aa;
/* rgb */ color: rgb(86, 48, 170);
/* oklch */ color: oklch(43.2% 0.182 291.1);
Tailwind
colors: {
  custom: {
    50: '#8e6cc4',
    500: '#5630aa',
    950: '#000000',
  },
}
SCSS
$custom: #5630aa;
$custom-light: #8e6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5630aa",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 258.689,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43227,
    "c": 0.18232,
    "h": 291.1
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#5630AA
secondary
#AAC274
accent
#DF49B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5630AA

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

Preview Lab → · Contrast checker → · Palette generator →

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