#5630AB#5630AB

#5630AB is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.183 H 290.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#5630AB
RGBrgb(86, 48, 171)
HSLhsl(259, 56%, 43%)
HSVhsv(259, 72%, 67%)
CMYKcmyk(49.7%, 71.9%, 0%, 32.9%)
CIE-LABlab(31.88, 46.14, -59.77)
CIE-LCHlch(31.88, 75.50, 307.67°)
OKLaboklab(43.32% 0.0653 -0.1715)
OKLCHoklch(43.32% 0.184 290.8)
XYZxyz(12.2433, 7.0321, 39.2324)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630AB #85AB30
analogous
#3047AB #5630AB #9330AB
triadic
#5630AB #AB5630 #30AB56
tetradic
#5630AB #AB3047 #85AB30 #30AB93
square
#5630AB #AB3047 #85AB30 #30AB93
split-complementary
#5630AB #AB9330 #47AB30
monochromatic
#26154B #3E237B #5630AB #734CCD #997BDA

Accessibility & contrast

On white

8.73
#5630AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5630AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5630AB#FFFFFF#000000##FFFFFF
##5630AB1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5630ab;
/* rgb */ color: rgb(86, 48, 171);
/* oklch */ color: oklch(43.3% 0.183 290.8);
Tailwind
colors: {
  custom: {
    50: '#8e6cc5',
    500: '#5630ab',
    950: '#000000',
  },
}
SCSS
$custom: #5630ab;
$custom-light: #8e6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5630ab",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 258.537,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43315,
    "c": 0.1835,
    "h": 290.8
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#5630AB
secondary
#AAC374
accent
#DF48B1
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5630AB

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

Preview Lab → · Contrast checker → · Palette generator →

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