#6C47E5#6C47E5

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

Color values

HEX#6C47E5
RGBrgb(108, 71, 229)
HSLhsl(254, 75%, 59%)
HSVhsv(254, 69%, 90%)
CMYKcmyk(52.8%, 69%, 0%, 10.2%)
CIE-LABlab(43.29, 54.11, -74.80)
CIE-LCHlch(43.29, 92.32, 305.88°)
OKLaboklab(53.47% 0.0652 -0.215)
OKLCHoklch(53.47% 0.225 286.9)
XYZxyz(22.5762, 13.3506, 75.5009)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C47E5 #C0E547
analogous
#4771E5 #6C47E5 #BB47E5
triadic
#6C47E5 #E56C47 #47E56C
tetradic
#6C47E5 #E54771 #C0E547 #47E5BB
square
#6C47E5 #E54771 #C0E547 #47E5BB
split-complementary
#6C47E5 #E5BB47 #71E547
monochromatic
#35169C #481ED1 #6C47E5 #977DED #C2B2F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C47E5#FFFFFF#000000##FFFFFF
##6C47E51.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)
#006AEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#3B7091
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6c47e5;
/* rgb */ color: rgb(108, 71, 229);
/* oklch */ color: oklch(53.5% 0.225 286.9);
Tailwind
colors: {
  custom: {
    50: '#a17dee',
    500: '#6c47e5',
    950: '#000000',
  },
}
SCSS
$custom: #6c47e5;
$custom-light: #a17dee;
$custom-dark: #000000;
JSON
{
  "hex": "#6c47e5",
  "rgb": {
    "r": 108,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 254.051,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.22466,
    "h": 286.9
  },
  "luminance": 0.13352
}

Semantic roles & 50–950 ramp

primary
#6C47E5
secondary
#D4E3A5
accent
#F236C6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C47E5

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

Preview Lab → · Contrast checker → · Palette generator →

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