#6C47CB#6C47CB

#6C47CB is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.194 H 290.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6C47CB
RGBrgb(108, 71, 203)
HSLhsl(257, 56%, 54%)
HSVhsv(257, 65%, 80%)
CMYKcmyk(46.8%, 65%, 0%, 20.4%)
CIE-LABlab(41.23, 46.79, -63.27)
CIE-LCHlch(41.23, 78.69, 306.48°)
OKLaboklab(51.35% 0.069 -0.1811)
OKLCHoklch(51.35% 0.194 290.9)
XYZxyz(19.2140, 12.0057, 57.7933)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C47CB #A6CB47
analogous
#4764CB #6C47CB #AE47CB
triadic
#6C47CB #CB6C47 #47CB6C
tetradic
#6C47CB #CB4764 #A6CB47 #47CBAE
square
#6C47CB #CB4764 #A6CB47 #47CBAE
split-complementary
#6C47CB #CBAE47 #64CB47
monochromatic
#392176 #502FA6 #6C47CB #9277D8 #B8A6E6

Accessibility & contrast

On white

6.17
#6C47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6C47CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C47CB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C47CB#FFFFFF#000000##FFFFFF
##6C47CB1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#4E6783
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6c47cb;
/* rgb */ color: rgb(108, 71, 203);
/* oklch */ color: oklch(51.3% 0.194 290.9);
Tailwind
colors: {
  custom: {
    50: '#9e7cdc',
    500: '#6c47cb',
    950: '#000000',
  },
}
SCSS
$custom: #6c47cb;
$custom-light: #9e7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c47cb",
  "rgb": {
    "r": 108,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 256.818,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51349,
    "c": 0.19382,
    "h": 290.9
  },
  "luminance": 0.12006
}

Semantic roles & 50–950 ramp

primary
#6C47CB
secondary
#C3D39B
accent
#DF49B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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