#6D47E1#6D47E1

#6D47E1 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.220 H 287.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6D47E1
RGBrgb(109, 71, 225)
HSLhsl(255, 72%, 58%)
HSVhsv(255, 68%, 88%)
CMYKcmyk(51.6%, 68.4%, 0%, 11.8%)
CIE-LABlab(43.05, 53.14, -72.91)
CIE-LCHlch(43.05, 90.22, 306.09°)
OKLaboklab(53.22% 0.0673 -0.2094)
OKLCHoklch(53.22% 0.22 287.8)
XYZxyz(22.1465, 13.1929, 72.5991)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D47E1 #BBE147
analogous
#476EE1 #6D47E1 #BA47E1
triadic
#6D47E1 #E16D47 #47E16D
tetradic
#6D47E1 #E1476E #BBE147 #47E1BA
square
#6D47E1 #E1476E #BBE147 #47E1BA
split-complementary
#6D47E1 #E1BA47 #6EE147
monochromatic
#371895 #4B21CA #6D47E1 #977CEA #C1B0F2

Accessibility & contrast

On white

5.77
#6D47E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6D47E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D47E1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D47E1#FFFFFF#000000##FFFFFF
##6D47E11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#416F8F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d47e1;
/* rgb */ color: rgb(109, 71, 225);
/* oklch */ color: oklch(53.2% 0.220 287.8);
Tailwind
colors: {
  custom: {
    50: '#a17dec',
    500: '#6d47e1',
    950: '#000000',
  },
}
SCSS
$custom: #6d47e1;
$custom-light: #a17dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6d47e1",
  "rgb": {
    "r": 109,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 254.805,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53224,
    "c": 0.21994,
    "h": 287.8
  },
  "luminance": 0.13194
}

Semantic roles & 50–950 ramp

primary
#6D47E1
secondary
#D1E1A3
accent
#EF39C2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D47E1

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

Preview Lab → · Contrast checker → · Palette generator →

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