#6D47E4#6D47E4

#6D47E4 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.223 H 287.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6D47E4
RGBrgb(109, 71, 228)
HSLhsl(255, 74%, 59%)
HSVhsv(255, 69%, 89%)
CMYKcmyk(52.2%, 68.9%, 0%, 10.6%)
CIE-LABlab(43.30, 53.98, -74.21)
CIE-LCHlch(43.30, 91.77, 306.03°)
OKLaboklab(53.47% 0.0668 -0.2132)
OKLCHoklch(53.47% 0.223 287.4)
XYZxyz(22.5594, 13.3580, 74.7734)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D47E4 #BEE447
analogous
#476FE4 #6D47E4 #BB47E4
triadic
#6D47E4 #E46D47 #47E46D
tetradic
#6D47E4 #E4476F #BEE447 #47E4BB
square
#6D47E4 #E4476F #BEE447 #47E4BB
split-complementary
#6D47E4 #E4BB47 #6FE447
monochromatic
#36179A #491ECF #6D47E4 #977CEC #C2B2F4

Accessibility & contrast

On white

5.72
#6D47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6D47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D47E4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D47E4#FFFFFF#000000##FFFFFF
##6D47E41.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#0062E1
Tritanopia (blue-blind)
#3E7090
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d47e4;
/* rgb */ color: rgb(109, 71, 228);
/* oklch */ color: oklch(53.5% 0.223 287.4);
Tailwind
colors: {
  custom: {
    50: '#a17dee',
    500: '#6d47e4',
    950: '#000000',
  },
}
SCSS
$custom: #6d47e4;
$custom-light: #a17dee;
$custom-dark: #000000;
JSON
{
  "hex": "#6d47e4",
  "rgb": {
    "r": 109,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 254.522,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53475,
    "c": 0.22343,
    "h": 287.4
  },
  "luminance": 0.13359
}

Semantic roles & 50–950 ramp

primary
#6D47E4
secondary
#D3E2A4
accent
#F137C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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