#6C47CA#6C47CA

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

Color values

HEX#6C47CA
RGBrgb(108, 71, 202)
HSLhsl(257, 55%, 54%)
HSVhsv(257, 65%, 79%)
CMYKcmyk(46.5%, 64.9%, 0%, 20.8%)
CIE-LABlab(41.15, 46.51, -62.81)
CIE-LCHlch(41.15, 78.16, 306.52°)
OKLaboklab(51.27% 0.0692 -0.1798)
OKLCHoklch(51.27% 0.193 291)
XYZxyz(19.0953, 11.9582, 57.1677)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C47CA #A5CA47
analogous
#4763CA #6C47CA #AE47CA
triadic
#6C47CA #CA6C47 #47CA6C
tetradic
#6C47CA #CA4763 #A5CA47 #47CAAE
square
#6C47CA #CA4763 #A5CA47 #47CAAE
split-complementary
#6C47CA #CAAE47 #63CA47
monochromatic
#392275 #502FA4 #6C47CA #9277D8 #B8A6E5

Accessibility & contrast

On white

6.19
#6C47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6C47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C47CA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C47CA#FFFFFF#000000##FFFFFF
##6C47CA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#4F6682
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6c47ca;
/* rgb */ color: rgb(108, 71, 202);
/* oklch */ color: oklch(51.3% 0.193 291.0);
Tailwind
colors: {
  custom: {
    50: '#9d7cdb',
    500: '#6c47ca',
    950: '#000000',
  },
}
SCSS
$custom: #6c47ca;
$custom-light: #9d7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c47ca",
  "rgb": {
    "r": 108,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 256.947,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51271,
    "c": 0.19261,
    "h": 291
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#6C47CA
secondary
#C3D29A
accent
#DF49B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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