#6A3AB4#6A3AB4

#6A3AB4 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.183 H 296.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6A3AB4
RGBrgb(106, 58, 180)
HSLhsl(264, 51%, 47%)
HSVhsv(264, 68%, 71%)
CMYKcmyk(41.1%, 67.8%, 0%, 29.4%)
CIE-LABlab(36.72, 47.08, -57.15)
CIE-LCHlch(36.72, 74.04, 309.48°)
OKLaboklab(47.51% 0.0827 -0.1631)
OKLCHoklch(47.51% 0.183 296.9)
XYZxyz(15.6930, 9.3853, 44.1559)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3AB4 #84B43A
analogous
#3A47B4 #6A3AB4 #A73AB4
triadic
#6A3AB4 #B46A3A #3AB46A
tetradic
#6A3AB4 #B43A47 #84B43A #3AB4A7
square
#6A3AB4 #B43A47 #84B43A #3AB4A7
split-complementary
#6A3AB4 #B4A73A #47B43A
monochromatic
#331C57 #4F2B86 #6A3AB4 #8A60CC #AC8EDB

Accessibility & contrast

On white

7.30
#6A3AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6A3AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3AB4
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3AB4#FFFFFF#000000##FFFFFF
##6A3AB41.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#575772
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a3ab4;
/* rgb */ color: rgb(106, 58, 180);
/* oklch */ color: oklch(47.5% 0.183 296.9);
Tailwind
colors: {
  custom: {
    50: '#9a73cb',
    500: '#6a3ab4',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ab4;
$custom-light: #9a73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ab4",
  "rgb": {
    "r": 106,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 263.607,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47506,
    "c": 0.18293,
    "h": 296.9
  },
  "luminance": 0.09386
}

Semantic roles & 50–950 ramp

primary
#6A3AB4
secondary
#ACC585
accent
#DB4DA3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A3AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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