#6B56BF#6B56BF

#6B56BF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.8% C 0.158 H 289.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6B56BF
RGBrgb(107, 86, 191)
HSLhsl(252, 45%, 54%)
HSVhsv(252, 55%, 75%)
CMYKcmyk(44%, 55%, 0%, 25.1%)
CIE-LABlab(43.57, 34.52, -52.52)
CIE-LCHlch(43.57, 62.85, 303.32°)
OKLaboklab(52.78% 0.0515 -0.1495)
OKLCHoklch(52.78% 0.158 289)
XYZxyz(18.7925, 13.5423, 50.9039)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56BF #AABF56
analogous
#5676BF #6B56BF #A056BF
triadic
#6B56BF #BF6B56 #56BF6B
tetradic
#6B56BF #BF5676 #AABF56 #56BFA0
square
#6B56BF #BF5676 #AABF56 #56BFA0
split-complementary
#6B56BF #BFA056 #76BF56
monochromatic
#382A70 #4F3B9D #6B56BF #9282D0 #B9AFE1

Accessibility & contrast

On white

5.66
#6B56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6B56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56BF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56BF#FFFFFF#000000##FFFFFF
##6B56BF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C3
Deuteranopia (green-blind)
#2164BD
Tritanopia (blue-blind)
#526D82
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b56bf;
/* rgb */ color: rgb(107, 86, 191);
/* oklch */ color: oklch(52.8% 0.158 289.0);
Tailwind
colors: {
  custom: {
    50: '#9b86d3',
    500: '#6b56bf',
    950: '#000000',
  },
}
SCSS
$custom: #6b56bf;
$custom-light: #9b86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56bf",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 252,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52776,
    "c": 0.15813,
    "h": 289
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#6B56BF
secondary
#C6CFA2
accent
#D553BB
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6B56BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6B56BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva