#5630AC#5630AC

#5630AC is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.185 H 290.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#5630AC
RGBrgb(86, 48, 172)
HSLhsl(258, 56%, 43%)
HSVhsv(258, 72%, 67%)
CMYKcmyk(50%, 72.1%, 0%, 32.5%)
CIE-LABlab(31.97, 46.42, -60.22)
CIE-LCHlch(31.97, 76.04, 307.63°)
OKLaboklab(43.4% 0.0651 -0.1728)
OKLCHoklch(43.4% 0.185 290.6)
XYZxyz(12.3390, 7.0704, 39.7363)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630AC #86AC30
analogous
#3048AC #5630AC #9430AC
triadic
#5630AC #AC5630 #30AC56
tetradic
#5630AC #AC3048 #86AC30 #30AC94
square
#5630AC #AC3048 #86AC30 #30AC94
split-complementary
#5630AC #AC9430 #48AC30
monochromatic
#26154C #3E237C #5630AC #744CCD #997CDA

Accessibility & contrast

On white

8.70
#5630AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##5630AC#FFFFFF#000000##FFFFFF
##5630AC1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#39506B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5630ac;
/* rgb */ color: rgb(86, 48, 172);
/* oklch */ color: oklch(43.4% 0.185 290.6);
Tailwind
colors: {
  custom: {
    50: '#8e6cc6',
    500: '#5630ac',
    950: '#000000',
  },
}
SCSS
$custom: #5630ac;
$custom-light: #8e6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5630ac",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 258.387,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43404,
    "c": 0.18468,
    "h": 290.6
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#5630AC
secondary
#ABC375
accent
#E048B1
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5630AC

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

Preview Lab → · Contrast checker → · Palette generator →

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