#5630AE#5630AE

#5630AE is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.187 H 290.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#5630AE
RGBrgb(86, 48, 174)
HSLhsl(258, 57%, 44%)
HSVhsv(258, 72%, 68%)
CMYKcmyk(50.6%, 72.4%, 0%, 31.8%)
CIE-LABlab(32.14, 46.98, -61.13)
CIE-LCHlch(32.14, 77.10, 307.54°)
OKLaboklab(43.58% 0.0647 -0.1755)
OKLCHoklch(43.58% 0.187 290.2)
XYZxyz(12.5325, 7.1478, 40.7555)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630AE #88AE30
analogous
#3049AE #5630AE #9530AE
triadic
#5630AE #AE5630 #30AE56
tetradic
#5630AE #AE3049 #88AE30 #30AE95
square
#5630AE #AE3049 #88AE30 #30AE95
split-complementary
#5630AE #AE9530 #49AE30
monochromatic
#27164E #3E237E #5630AE #744DCE #9A7DDB

Accessibility & contrast

On white

8.64
#5630AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5630AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5630AE#FFFFFF#000000##FFFFFF
##5630AE1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#38516C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5630ae;
/* rgb */ color: rgb(86, 48, 174);
/* oklch */ color: oklch(43.6% 0.187 290.2);
Tailwind
colors: {
  custom: {
    50: '#8e6cc7',
    500: '#5630ae',
    950: '#000000',
  },
}
SCSS
$custom: #5630ae;
$custom-light: #8e6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5630ae",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 258.095,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43581,
    "c": 0.18704,
    "h": 290.2
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#5630AE
secondary
#ACC476
accent
#E048B2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5630AE

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

Preview Lab → · Contrast checker → · Palette generator →

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