#6B56BB#6B56BB

#6B56BB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.5% C 0.153 H 289.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6B56BB
RGBrgb(107, 86, 187)
HSLhsl(252, 43%, 54%)
HSVhsv(252, 54%, 73%)
CMYKcmyk(42.8%, 54%, 0%, 26.7%)
CIE-LABlab(43.31, 33.36, -50.60)
CIE-LCHlch(43.31, 60.61, 303.40°)
OKLaboklab(52.5% 0.0514 -0.1439)
OKLCHoklch(52.5% 0.153 289.7)
XYZxyz(18.3583, 13.3686, 48.6172)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56BB #A6BB56
analogous
#5673BB #6B56BB #9D56BB
triadic
#6B56BB #BB6B56 #56BB6B
tetradic
#6B56BB #BB5673 #A6BB56 #56BB9D
square
#6B56BB #BB5673 #A6BB56 #56BB9D
split-complementary
#6B56BB #BB9D56 #73BB56
monochromatic
#392B6B #503D97 #6B56BB #9182CD #B7ADDE

Accessibility & contrast

On white

5.72
#6B56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6B56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56BB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56BB#FFFFFF#000000##FFFFFF
##6B56BB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#546B80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6b56bb;
/* rgb */ color: rgb(107, 86, 187);
/* oklch */ color: oklch(52.5% 0.153 289.7);
Tailwind
colors: {
  custom: {
    50: '#9a86d0',
    500: '#6b56bb',
    950: '#000000',
  },
}
SCSS
$custom: #6b56bb;
$custom-light: #9a86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56bb",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 252.475,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52504,
    "c": 0.15276,
    "h": 289.7
  },
  "luminance": 0.13369
}

Semantic roles & 50–950 ramp

primary
#6B56BB
secondary
#C3CCA1
accent
#D255B8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6B56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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