#6C47E4#6C47E4

#6C47E4 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.223 H 287.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6C47E4
RGBrgb(108, 71, 228)
HSLhsl(254, 74%, 59%)
HSVhsv(254, 69%, 89%)
CMYKcmyk(52.6%, 68.9%, 0%, 10.6%)
CIE-LABlab(43.20, 53.82, -74.37)
CIE-LCHlch(43.20, 91.80, 305.89°)
OKLaboklab(53.39% 0.0654 -0.2137)
OKLCHoklch(53.39% 0.223 287)
XYZxyz(22.4370, 13.2949, 74.7677)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C47E4 #BFE447
analogous
#4770E4 #6C47E4 #BA47E4
triadic
#6C47E4 #E46C47 #47E46C
tetradic
#6C47E4 #E44770 #BFE447 #47E4BA
square
#6C47E4 #E44770 #BFE447 #47E4BA
split-complementary
#6C47E4 #E4BA47 #70E447
monochromatic
#36179A #481ECF #6C47E4 #977CEC #C1B2F4

Accessibility & contrast

On white

5.74
#6C47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6C47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C47E4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C47E4#FFFFFF#000000##FFFFFF
##6C47E41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c47e4;
/* rgb */ color: rgb(108, 71, 228);
/* oklch */ color: oklch(53.4% 0.223 287.0);
Tailwind
colors: {
  custom: {
    50: '#a17dee',
    500: '#6c47e4',
    950: '#000000',
  },
}
SCSS
$custom: #6c47e4;
$custom-light: #a17dee;
$custom-dark: #000000;
JSON
{
  "hex": "#6c47e4",
  "rgb": {
    "r": 108,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 254.14,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53386,
    "c": 0.22349,
    "h": 287
  },
  "luminance": 0.13296
}

Semantic roles & 50–950 ramp

primary
#6C47E4
secondary
#D4E2A4
accent
#F137C5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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