#5630AF#5630AF

#5630AF is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.188 H 290.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#5630AF
RGBrgb(86, 48, 175)
HSLhsl(258, 57%, 44%)
HSVhsv(258, 73%, 69%)
CMYKcmyk(50.9%, 72.6%, 0%, 31.4%)
CIE-LABlab(32.23, 47.27, -61.59)
CIE-LCHlch(32.23, 77.64, 307.51°)
OKLaboklab(43.67% 0.0644 -0.1768)
OKLCHoklch(43.67% 0.188 290)
XYZxyz(12.6303, 7.1869, 41.2708)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630AF #89AF30
analogous
#3049AF #5630AF #9530AF
triadic
#5630AF #AF5630 #30AF56
tetradic
#5630AF #AF3049 #89AF30 #30AF95
square
#5630AF #AF3049 #89AF30 #30AF95
split-complementary
#5630AF #AF9530 #49AF30
monochromatic
#27164F #3E237F #5630AF #744ECE #9A7EDC

Accessibility & contrast

On white

8.62
#5630AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5630AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5630AF
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5630AF#FFFFFF#000000##FFFFFF
##5630AF1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#37526C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5630af;
/* rgb */ color: rgb(86, 48, 175);
/* oklch */ color: oklch(43.7% 0.188 290.0);
Tailwind
colors: {
  custom: {
    50: '#8e6cc8',
    500: '#5630af',
    950: '#000000',
  },
}
SCSS
$custom: #5630af;
$custom-light: #8e6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5630af",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 257.953,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.18822,
    "h": 290
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#5630AF
secondary
#ADC476
accent
#E048B3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5630AF

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

Preview Lab → · Contrast checker → · Palette generator →

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