#5630A3#5630A3

#5630A3 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.174 H 292.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#5630A3
RGBrgb(86, 48, 163)
HSLhsl(260, 55%, 41%)
HSVhsv(260, 71%, 64%)
CMYKcmyk(47.2%, 70.6%, 0%, 36.1%)
CIE-LABlab(31.20, 43.88, -56.07)
CIE-LCHlch(31.20, 71.20, 308.05°)
OKLaboklab(42.62% 0.0669 -0.1606)
OKLCHoklch(42.62% 0.174 292.6)
XYZxyz(11.5037, 6.7363, 35.3373)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630A3 #7DA330
analogous
#3044A3 #5630A3 #9030A3
triadic
#5630A3 #A35630 #30A356
tetradic
#5630A3 #A33044 #7DA330 #30A390
square
#5630A3 #A33044 #7DA330 #30A390
split-complementary
#5630A3 #A39030 #44A330
monochromatic
#241444 #3D2274 #5630A3 #7247C9 #9677D7

Accessibility & contrast

On white

8.95
#5630A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##5630A3#FFFFFF#000000##FFFFFF
##5630A31.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#3F4D66
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5630a3;
/* rgb */ color: rgb(86, 48, 163);
/* oklch */ color: oklch(42.6% 0.174 292.6);
Tailwind
colors: {
  custom: {
    50: '#8d6bbf',
    500: '#5630a3',
    950: '#000000',
  },
}
SCSS
$custom: #5630a3;
$custom-light: #8d6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#5630a3",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 259.826,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4262,
    "c": 0.17399,
    "h": 292.6
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5630A3

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

Preview Lab → · Contrast checker → · Palette generator →

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