#5630BF#5630BF

#5630BF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.1% C 0.207 H 287.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#5630BF
RGBrgb(86, 48, 191)
HSLhsl(256, 60%, 47%)
HSVhsv(256, 75%, 75%)
CMYKcmyk(55%, 74.9%, 0%, 25.1%)
CIE-LABlab(33.68, 51.79, -68.70)
CIE-LCHlch(33.68, 86.03, 307.01°)
OKLaboklab(45.13% 0.0606 -0.1977)
OKLCHoklch(45.13% 0.207 287.1)
XYZxyz(14.2959, 7.8532, 50.0426)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630BF #99BF30
analogous
#3052BF #5630BF #9E30BF
triadic
#5630BF #BF5630 #30BF56
tetradic
#5630BF #BF3052 #99BF30 #30BF9E
square
#5630BF #BF3052 #99BF30 #30BF9E
split-complementary
#5630BF #BF9E30 #52BF30
monochromatic
#2A175D #40248E #5630BF #7957D5 #A088E1

Accessibility & contrast

On white

8.17
#5630BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5630BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5630BF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5630BF#FFFFFF#000000##FFFFFF
##5630BF1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#285875
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5630bf;
/* rgb */ color: rgb(86, 48, 191);
/* oklch */ color: oklch(45.1% 0.207 287.1);
Tailwind
colors: {
  custom: {
    50: '#916dd3',
    500: '#5630bf',
    950: '#000000',
  },
}
SCSS
$custom: #5630bf;
$custom-light: #916dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5630bf",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 255.944,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45133,
    "c": 0.20676,
    "h": 287.1
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#5630BF
secondary
#B7CB80
accent
#E345B9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5630BF

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

Preview Lab → · Contrast checker → · Palette generator →

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