#5630B2#5630B2

#5630B2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.192 H 289.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#5630B2
RGBrgb(86, 48, 178)
HSLhsl(258, 58%, 44%)
HSVhsv(258, 73%, 70%)
CMYKcmyk(51.7%, 73%, 0%, 30.2%)
CIE-LABlab(32.49, 48.12, -62.94)
CIE-LCHlch(32.49, 79.23, 307.40°)
OKLaboklab(43.94% 0.0638 -0.1808)
OKLCHoklch(43.94% 0.192 289.4)
XYZxyz(12.9283, 7.3061, 42.8399)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630B2 #8CB230
analogous
#304BB2 #5630B2 #9730B2
triadic
#5630B2 #B25630 #30B256
tetradic
#5630B2 #B2304B #8CB230 #30B297
square
#5630B2 #B2304B #8CB230 #30B297
split-complementary
#5630B2 #B29730 #4BB230
monochromatic
#271652 #3F2382 #5630B2 #7550D0 #9B80DD

Accessibility & contrast

On white

8.53
#5630B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5630B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5630B2
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5630B2#FFFFFF#000000##FFFFFF
##5630B21.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#35536E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5630b2;
/* rgb */ color: rgb(86, 48, 178);
/* oklch */ color: oklch(43.9% 0.192 289.4);
Tailwind
colors: {
  custom: {
    50: '#8f6cca',
    500: '#5630b2',
    950: '#000000',
  },
}
SCSS
$custom: #5630b2;
$custom-light: #8f6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#5630b2",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 257.538,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43939,
    "c": 0.19172,
    "h": 289.4
  },
  "luminance": 0.07307
}

Semantic roles & 50–950 ramp

primary
#5630B2
secondary
#AFC678
accent
#E147B4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5630B2

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

Preview Lab → · Contrast checker → · Palette generator →

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