#6D47CD#6D47CD

#6D47CD is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.6% C 0.196 H 291.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6D47CD
RGBrgb(109, 71, 205)
HSLhsl(257, 57%, 54%)
HSVhsv(257, 65%, 80%)
CMYKcmyk(46.8%, 65.4%, 0%, 19.6%)
CIE-LABlab(41.48, 47.53, -64.01)
CIE-LCHlch(41.48, 79.73, 306.60°)
OKLaboklab(51.6% 0.0702 -0.1833)
OKLCHoklch(51.6% 0.196 291)
XYZxyz(19.5763, 12.1648, 59.0623)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D47CD #A7CD47
analogous
#4764CD #6D47CD #B047CD
triadic
#6D47CD #CD6D47 #47CD6D
tetradic
#6D47CD #CD4764 #A7CD47 #47CDB0
square
#6D47CD #CD4764 #A7CD47 #47CDB0
split-complementary
#6D47CD #CDB047 #64CD47
monochromatic
#3A2179 #512EA9 #6D47CD #9377DA #B9A7E7

Accessibility & contrast

On white

6.12
#6D47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6D47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D47CD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D47CD#FFFFFF#000000##FFFFFF
##6D47CD1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#4F6784
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6d47cd;
/* rgb */ color: rgb(109, 71, 205);
/* oklch */ color: oklch(51.6% 0.196 291.0);
Tailwind
colors: {
  custom: {
    50: '#9e7cdd',
    500: '#6d47cd',
    950: '#000000',
  },
}
SCSS
$custom: #6d47cd;
$custom-light: #9e7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d47cd",
  "rgb": {
    "r": 109,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 257.015,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51602,
    "c": 0.19624,
    "h": 291
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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