#5630BA#5630BA

#5630BA is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.201 H 287.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#5630BA
RGBrgb(86, 48, 186)
HSLhsl(257, 59%, 46%)
HSVhsv(257, 74%, 73%)
CMYKcmyk(53.8%, 74.2%, 0%, 27.1%)
CIE-LABlab(33.21, 50.38, -66.51)
CIE-LCHlch(33.21, 83.43, 307.14°)
OKLaboklab(44.67% 0.0619 -0.1912)
OKLCHoklch(44.67% 0.201 287.9)
XYZxyz(13.7550, 7.6368, 47.1941)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630BA #94BA30
analogous
#304FBA #5630BA #9B30BA
triadic
#5630BA #BA5630 #30BA56
tetradic
#5630BA #BA304F #94BA30 #30BA9B
square
#5630BA #BA304F #94BA30 #30BA9B
split-complementary
#5630BA #BA9B30 #4FBA30
monochromatic
#291759 #402389 #5630BA #7754D3 #9E85DF

Accessibility & contrast

On white

8.31
#5630BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5630BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5630BA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5630BA#FFFFFF#000000##FFFFFF
##5630BA1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#2E5673
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5630ba;
/* rgb */ color: rgb(86, 48, 186);
/* oklch */ color: oklch(44.7% 0.201 287.9);
Tailwind
colors: {
  custom: {
    50: '#906cd0',
    500: '#5630ba',
    950: '#000000',
  },
}
SCSS
$custom: #5630ba;
$custom-light: #906cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5630ba",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 256.522,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44669,
    "c": 0.20101,
    "h": 287.9
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#5630BA
secondary
#B4C97D
accent
#E246B7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5630BA

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

Preview Lab → · Contrast checker → · Palette generator →

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