#5630A5#5630A5

#5630A5 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.176 H 292.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#5630A5
RGBrgb(86, 48, 165)
HSLhsl(259, 55%, 42%)
HSVhsv(259, 71%, 65%)
CMYKcmyk(47.9%, 70.9%, 0%, 35.3%)
CIE-LABlab(31.37, 44.45, -57.00)
CIE-LCHlch(31.37, 72.28, 307.95°)
OKLaboklab(42.79% 0.0665 -0.1634)
OKLCHoklch(42.79% 0.176 292.1)
XYZxyz(11.6843, 6.8085, 36.2886)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630A5 #7FA530
analogous
#3045A5 #5630A5 #9130A5
triadic
#5630A5 #A55630 #30A556
tetradic
#5630A5 #A53045 #7FA530 #30A591
square
#5630A5 #A53045 #7FA530 #30A591
split-complementary
#5630A5 #A59130 #45A530
monochromatic
#251446 #3D2276 #5630A5 #7248CA #9778D8

Accessibility & contrast

On white

8.89
#5630A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5630A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5630A5#FFFFFF#000000##FFFFFF
##5630A51.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#3D4E67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5630a5;
/* rgb */ color: rgb(86, 48, 165);
/* oklch */ color: oklch(42.8% 0.176 292.1);
Tailwind
colors: {
  custom: {
    50: '#8d6bc1',
    500: '#5630a5',
    950: '#000000',
  },
}
SCSS
$custom: #5630a5;
$custom-light: #8d6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#5630a5",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 259.487,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.17639,
    "h": 292.1
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#5630A5
secondary
#A6C071
accent
#DE4AAE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5630A5

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

Preview Lab → · Contrast checker → · Palette generator →

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