#6A47AF#6A47AF

#6A47AF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.1% C 0.159 H 295.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#6A47AF
RGBrgb(106, 71, 175)
HSLhsl(260, 42%, 48%)
HSVhsv(260, 59%, 69%)
CMYKcmyk(39.4%, 59.4%, 0%, 31.4%)
CIE-LABlab(39.01, 38.57, -50.47)
CIE-LCHlch(39.01, 63.52, 307.39°)
OKLaboklab(49.06% 0.0683 -0.1435)
OKLCHoklch(49.06% 0.159 295.5)
XYZxyz(15.9329, 10.6655, 41.7683)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A47AF #8CAF47
analogous
#4758AF #6A47AF #9E47AF
triadic
#6A47AF #AF6A47 #47AF6A
tetradic
#6A47AF #AF4758 #8CAF47 #47AF9E
square
#6A47AF #AF4758 #8CAF47 #47AF9E
split-complementary
#6A47AF #AF9E47 #58AF47
monochromatic
#352458 #503583 #6A47AF #8C6FC4 #AE9AD6

Accessibility & contrast

On white

6.70
#6A47AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6A47AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A47AF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A47AF#FFFFFF#000000##FFFFFF
##6A47AF1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015DB2
Deuteranopia (green-blind)
#195AAD
Tritanopia (blue-blind)
#595D74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a47af;
/* rgb */ color: rgb(106, 71, 175);
/* oklch */ color: oklch(49.1% 0.159 295.5);
Tailwind
colors: {
  custom: {
    50: '#997cc7',
    500: '#6a47af',
    950: '#000000',
  },
}
SCSS
$custom: #6a47af;
$custom-light: #997cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a47af",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 260.192,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49056,
    "c": 0.15898,
    "h": 295.5
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#6A47AF
secondary
#B1C28F
accent
#D256A8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6A47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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