#6D47CA#6D47CA

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

Color values

HEX#6D47CA
RGBrgb(109, 71, 202)
HSLhsl(257, 55%, 54%)
HSVhsv(257, 65%, 79%)
CMYKcmyk(46%, 64.9%, 0%, 20.8%)
CIE-LABlab(41.25, 46.70, -62.65)
CIE-LCHlch(41.25, 78.14, 306.70°)
OKLaboklab(51.37% 0.0705 -0.1792)
OKLCHoklch(51.37% 0.193 291.5)
XYZxyz(19.2176, 12.0213, 57.1734)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D47CA #A4CA47
analogous
#4762CA #6D47CA #AF47CA
triadic
#6D47CA #CA6D47 #47CA6D
tetradic
#6D47CA #CA4762 #A4CA47 #47CAAF
square
#6D47CA #CA4762 #A4CA47 #47CAAF
split-complementary
#6D47CA #CAAF47 #62CA47
monochromatic
#3A2275 #512FA4 #6D47CA #9377D8 #B8A6E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D47CA#FFFFFF#000000##FFFFFF
##6D47CA1.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)
#0063CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#516682
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6d47ca;
/* rgb */ color: rgb(109, 71, 202);
/* oklch */ color: oklch(51.4% 0.193 291.5);
Tailwind
colors: {
  custom: {
    50: '#9e7cdb',
    500: '#6d47ca',
    950: '#000000',
  },
}
SCSS
$custom: #6d47ca;
$custom-light: #9e7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d47ca",
  "rgb": {
    "r": 109,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 257.405,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51367,
    "c": 0.19261,
    "h": 291.5
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#6D47CA
secondary
#C2D29A
accent
#DF49B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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