#5630C4#5630C4

#5630C4 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.6% C 0.212 H 286.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5630C4
RGBrgb(86, 48, 196)
HSLhsl(255, 61%, 48%)
HSVhsv(255, 76%, 77%)
CMYKcmyk(56.1%, 75.5%, 0%, 23.1%)
CIE-LABlab(34.14, 53.20, -70.86)
CIE-LCHlch(34.14, 88.61, 306.90°)
OKLaboklab(45.6% 0.0593 -0.204)
OKLCHoklch(45.6% 0.212 286.2)
XYZxyz(14.8555, 8.0770, 52.9901)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630C4 #9EC430
analogous
#3054C4 #5630C4 #A030C4
triadic
#5630C4 #C45630 #30C456
tetradic
#5630C4 #C43054 #9EC430 #30C4A0
square
#5630C4 #C43054 #9EC430 #30C4A0
split-complementary
#5630C4 #C4A030 #54C430
monochromatic
#2B1862 #402493 #5630C4 #7A5AD7 #A28CE3

Accessibility & contrast

On white

8.03
#5630C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5630C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5630C4
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5630C4#FFFFFF#000000##FFFFFF
##5630C41.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#225A78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5630c4;
/* rgb */ color: rgb(86, 48, 196);
/* oklch */ color: oklch(45.6% 0.212 286.2);
Tailwind
colors: {
  custom: {
    50: '#926dd7',
    500: '#5630c4',
    950: '#000000',
  },
}
SCSS
$custom: #5630c4;
$custom-light: #926dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5630c4",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 255.405,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.21246,
    "h": 286.2
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#5630C4
secondary
#BACD83
accent
#E444BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5630C4

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

Preview Lab → · Contrast checker → · Palette generator →

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