#5630BE#5630BE

#5630BE is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.206 H 287.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#5630BE
RGBrgb(86, 48, 190)
HSLhsl(256, 60%, 47%)
HSVhsv(256, 75%, 75%)
CMYKcmyk(54.7%, 74.7%, 0%, 25.5%)
CIE-LABlab(33.58, 51.51, -68.26)
CIE-LCHlch(33.58, 85.51, 307.04°)
OKLaboklab(45.04% 0.0609 -0.1964)
OKLCHoklch(45.04% 0.206 287.2)
XYZxyz(14.1862, 7.8093, 49.4650)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630BE #98BE30
analogous
#3051BE #5630BE #9D30BE
triadic
#5630BE #BE5630 #30BE56
tetradic
#5630BE #BE3051 #98BE30 #30BE9D
square
#5630BE #BE3051 #98BE30 #30BE9D
split-complementary
#5630BE #BE9D30 #51BE30
monochromatic
#2A175C #40248D #5630BE #7857D4 #9F88E1

Accessibility & contrast

On white

8.20
#5630BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5630BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5630BE
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5630BE#FFFFFF#000000##FFFFFF
##5630BE1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C2
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#295775
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5630be;
/* rgb */ color: rgb(86, 48, 190);
/* oklch */ color: oklch(45.0% 0.206 287.2);
Tailwind
colors: {
  custom: {
    50: '#916dd3',
    500: '#5630be',
    950: '#000000',
  },
}
SCSS
$custom: #5630be;
$custom-light: #916dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5630be",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 190
  },
  "hsl": {
    "h": 256.056,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4504,
    "c": 0.20561,
    "h": 287.2
  },
  "luminance": 0.0781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5630BE

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

Preview Lab → · Contrast checker → · Palette generator →

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