#6C56BF#6C56BF

#6C56BF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 52.9% C 0.158 H 289.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6C56BF
RGBrgb(108, 86, 191)
HSLhsl(253, 45%, 54%)
HSVhsv(253, 55%, 75%)
CMYKcmyk(43.5%, 55%, 0%, 25.1%)
CIE-LABlab(43.66, 34.75, -52.37)
CIE-LCHlch(43.66, 62.85, 303.57°)
OKLaboklab(52.87% 0.0528 -0.149)
OKLCHoklch(52.87% 0.158 289.5)
XYZxyz(18.9135, 13.6047, 50.9095)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C56BF #A9BF56
analogous
#5675BF #6C56BF #A056BF
triadic
#6C56BF #BF6C56 #56BF6C
tetradic
#6C56BF #BF5675 #A9BF56 #56BFA0
square
#6C56BF #BF5675 #A9BF56 #56BFA0
split-complementary
#6C56BF #BFA056 #75BF56
monochromatic
#392A70 #503B9D #6C56BF #9382D0 #B9AFE1

Accessibility & contrast

On white

5.64
#6C56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6C56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C56BF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C56BF#FFFFFF#000000##FFFFFF
##6C56BF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c56bf;
/* rgb */ color: rgb(108, 86, 191);
/* oklch */ color: oklch(52.9% 0.158 289.5);
Tailwind
colors: {
  custom: {
    50: '#9b86d3',
    500: '#6c56bf',
    950: '#000000',
  },
}
SCSS
$custom: #6c56bf;
$custom-light: #9b86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c56bf",
  "rgb": {
    "r": 108,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 252.571,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.15811,
    "h": 289.5
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

primary
#6C56BF
secondary
#C5CFA2
accent
#D553BA
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0F0B14
muted
#7E7C83

Preview Lab

Preview with #6C56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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