#5630B5#5630B5

#5630B5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.195 H 288.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#5630B5
RGBrgb(86, 48, 181)
HSLhsl(257, 58%, 45%)
HSVhsv(257, 73%, 71%)
CMYKcmyk(52.5%, 73.5%, 0%, 29%)
CIE-LABlab(32.76, 48.96, -64.29)
CIE-LCHlch(32.76, 80.81, 307.29°)
OKLaboklab(44.21% 0.0631 -0.1847)
OKLCHoklch(44.21% 0.195 288.8)
XYZxyz(13.2328, 7.4279, 44.4436)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630B5 #8FB530
analogous
#304CB5 #5630B5 #9930B5
triadic
#5630B5 #B55630 #30B556
tetradic
#5630B5 #B5304C #8FB530 #30B599
square
#5630B5 #B5304C #8FB530 #30B599
split-complementary
#5630B5 #B59930 #4CB530
monochromatic
#281654 #3F2385 #5630B5 #7651D1 #9C82DE

Accessibility & contrast

On white

8.45
#5630B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5630B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5630B5
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5630B5#FFFFFF#000000##FFFFFF
##5630B51.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#325470
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5630b5;
/* rgb */ color: rgb(86, 48, 181);
/* oklch */ color: oklch(44.2% 0.195 288.8);
Tailwind
colors: {
  custom: {
    50: '#8f6ccc',
    500: '#5630b5',
    950: '#000000',
  },
}
SCSS
$custom: #5630b5;
$custom-light: #8f6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#5630b5",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 257.143,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44211,
    "c": 0.19522,
    "h": 288.8
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#5630B5
secondary
#B1C77A
accent
#E146B5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5630B5

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

Preview Lab → · Contrast checker → · Palette generator →

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