#5630C2#5630C2

#5630C2 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.210 H 286.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5630C2
RGBrgb(86, 48, 194)
HSLhsl(256, 60%, 47%)
HSVhsv(256, 75%, 76%)
CMYKcmyk(55.7%, 75.3%, 0%, 23.9%)
CIE-LABlab(33.95, 52.63, -70.00)
CIE-LCHlch(33.95, 87.58, 306.94°)
OKLaboklab(45.42% 0.0599 -0.2015)
OKLCHoklch(45.42% 0.21 286.5)
XYZxyz(14.6294, 7.9866, 51.7992)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630C2 #9CC230
analogous
#3053C2 #5630C2 #9F30C2
triadic
#5630C2 #C25630 #30C256
tetradic
#5630C2 #C23053 #9CC230 #30C29F
square
#5630C2 #C23053 #9CC230 #30C29F
split-complementary
#5630C2 #C29F30 #53C230
monochromatic
#2B1860 #402491 #5630C2 #7A59D6 #A18AE2

Accessibility & contrast

On white

8.09
#5630C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5630C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5630C2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5630C2#FFFFFF#000000##FFFFFF
##5630C21.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#255977
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5630c2;
/* rgb */ color: rgb(86, 48, 194);
/* oklch */ color: oklch(45.4% 0.210 286.5);
Tailwind
colors: {
  custom: {
    50: '#916dd6',
    500: '#5630c2',
    950: '#000000',
  },
}
SCSS
$custom: #5630c2;
$custom-light: #916dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5630c2",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 255.616,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45415,
    "c": 0.21018,
    "h": 286.5
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#5630C2
secondary
#B9CC82
accent
#E344BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5630C2

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

Preview Lab → · Contrast checker → · Palette generator →

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