#6C47BB#6C47BB

#6C47BB is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.1% C 0.174 H 293.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6C47BB
RGBrgb(108, 71, 187)
HSLhsl(259, 46%, 51%)
HSVhsv(259, 62%, 73%)
CMYKcmyk(42.2%, 62%, 0%, 26.7%)
CIE-LABlab(40.05, 42.33, -55.85)
CIE-LCHlch(40.05, 70.08, 307.16°)
OKLaboklab(50.13% 0.0705 -0.1593)
OKLCHoklch(50.13% 0.174 293.9)
XYZxyz(17.4048, 11.2820, 48.2647)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C47BB #96BB47
analogous
#475CBB #6C47BB #A647BB
triadic
#6C47BB #BB6C47 #47BB6C
tetradic
#6C47BB #BB475C #96BB47 #47BBA6
square
#6C47BB #BB475C #96BB47 #47BBA6
split-complementary
#6C47BB #BBA647 #5CBB47
monochromatic
#382563 #523590 #6C47BB #9074CC #B3A0DC

Accessibility & contrast

On white

6.45
#6C47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6C47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C47BB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C47BB#FFFFFF#000000##FFFFFF
##6C47BB1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#57617A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c47bb;
/* rgb */ color: rgb(108, 71, 187);
/* oklch */ color: oklch(50.1% 0.174 293.9);
Tailwind
colors: {
  custom: {
    50: '#9c7cd0',
    500: '#6c47bb',
    950: '#000000',
  },
}
SCSS
$custom: #6c47bb;
$custom-light: #9c7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c47bb",
  "rgb": {
    "r": 108,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 259.138,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50129,
    "c": 0.1742,
    "h": 293.9
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#6C47BB
secondary
#B8C995
accent
#D652AC
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6C47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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