#6D56BB#6D56BB

#6D56BB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.7% C 0.153 H 290.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6D56BB
RGBrgb(109, 86, 187)
HSLhsl(254, 43%, 54%)
HSVhsv(254, 54%, 73%)
CMYKcmyk(41.7%, 54%, 0%, 26.7%)
CIE-LABlab(43.50, 33.84, -50.29)
CIE-LCHlch(43.50, 60.62, 303.93°)
OKLaboklab(52.69% 0.054 -0.1429)
OKLCHoklch(52.69% 0.153 290.7)
XYZxyz(18.6016, 13.4941, 48.6286)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D56BB #A4BB56
analogous
#5671BB #6D56BB #9F56BB
triadic
#6D56BB #BB6D56 #56BB6D
tetradic
#6D56BB #BB5671 #A4BB56 #56BB9F
square
#6D56BB #BB5671 #A4BB56 #56BB9F
split-complementary
#6D56BB #BB9F56 #71BB56
monochromatic
#3A2B6B #513D97 #6D56BB #9382CD #B8ADDE

Accessibility & contrast

On white

5.68
#6D56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6D56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D56BB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D56BB#FFFFFF#000000##FFFFFF
##6D56BB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BE
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#576B80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6d56bb;
/* rgb */ color: rgb(109, 86, 187);
/* oklch */ color: oklch(52.7% 0.153 290.7);
Tailwind
colors: {
  custom: {
    50: '#9b86d0',
    500: '#6d56bb',
    950: '#000000',
  },
}
SCSS
$custom: #6d56bb;
$custom-light: #9b86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d56bb",
  "rgb": {
    "r": 109,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 253.663,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.15275,
    "h": 290.7
  },
  "luminance": 0.13495
}

Semantic roles & 50–950 ramp

primary
#6D56BB
secondary
#C2CCA1
accent
#D255B6
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0F0B14
muted
#7E7C82

Preview Lab

Preview with #6D56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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