#6D47CC#6D47CC

#6D47CC is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.195 H 291.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6D47CC
RGBrgb(109, 71, 204)
HSLhsl(257, 57%, 54%)
HSVhsv(257, 65%, 80%)
CMYKcmyk(46.6%, 65.2%, 0%, 20%)
CIE-LABlab(41.40, 47.26, -63.56)
CIE-LCHlch(41.40, 79.20, 306.63°)
OKLaboklab(51.52% 0.0703 -0.1819)
OKLCHoklch(51.52% 0.195 291.1)
XYZxyz(19.4559, 12.1166, 58.4287)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D47CC #A6CC47
analogous
#4764CC #6D47CC #B047CC
triadic
#6D47CC #CC6D47 #47CC6D
tetradic
#6D47CC #CC4764 #A6CC47 #47CCB0
square
#6D47CC #CC4764 #A6CC47 #47CCB0
split-complementary
#6D47CC #CCB047 #64CC47
monochromatic
#3A2177 #512EA7 #6D47CC #9377D9 #B9A7E7

Accessibility & contrast

On white

6.13
#6D47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6D47CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D47CC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D47CC#FFFFFF#000000##FFFFFF
##6D47CC1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#506783
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6d47cc;
/* rgb */ color: rgb(109, 71, 204);
/* oklch */ color: oklch(51.5% 0.195 291.1);
Tailwind
colors: {
  custom: {
    50: '#9e7cdc',
    500: '#6d47cc',
    950: '#000000',
  },
}
SCSS
$custom: #6d47cc;
$custom-light: #9e7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d47cc",
  "rgb": {
    "r": 109,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 257.143,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51523,
    "c": 0.19503,
    "h": 291.1
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#6D47CC
secondary
#C4D49B
accent
#E048B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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