#6A47A5#6A47A5

#6A47A5 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.4% C 0.146 H 297.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6A47A5
RGBrgb(106, 71, 165)
HSLhsl(262, 40%, 46%)
HSVhsv(262, 57%, 65%)
CMYKcmyk(35.8%, 57%, 0%, 35.3%)
CIE-LABlab(38.35, 35.84, -45.58)
CIE-LCHlch(38.35, 57.99, 308.18°)
OKLaboklab(48.36% 0.0683 -0.1292)
OKLCHoklch(48.36% 0.146 297.9)
XYZxyz(14.9869, 10.2871, 36.7860)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A47A5 #82A547
analogous
#4753A5 #6A47A5 #9947A5
triadic
#6A47A5 #A56A47 #47A56A
tetradic
#6A47A5 #A54753 #82A547 #47A599
square
#6A47A5 #A54753 #82A547 #47A599
split-complementary
#6A47A5 #A59947 #53A547
monochromatic
#33224F #4F357A #6A47A5 #8A6ABF #AB95D1

Accessibility & contrast

On white

6.87
#6A47A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6A47A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A47A5
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A47A5#FFFFFF#000000##FFFFFF
##6A47A51.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5AA8
Deuteranopia (green-blind)
#2859A3
Tritanopia (blue-blind)
#5D5A6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a47a5;
/* rgb */ color: rgb(106, 71, 165);
/* oklch */ color: oklch(48.4% 0.146 297.9);
Tailwind
colors: {
  custom: {
    50: '#987bc0',
    500: '#6a47a5',
    950: '#000000',
  },
}
SCSS
$custom: #6a47a5;
$custom-light: #987bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a47a5",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 262.34,
    "s": 39.831,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48362,
    "c": 0.14615,
    "h": 297.9
  },
  "luminance": 0.10287
}

Semantic roles & 50–950 ramp

primary
#6A47A5
secondary
#AABD8B
accent
#D058A3
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6A47A5

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

Preview Lab → · Contrast checker → · Palette generator →

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