#6A3FA4#6A3FA4

#6A3FA4 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.0% C 0.157 H 300.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6A3FA4
RGBrgb(106, 63, 164)
HSLhsl(266, 44%, 45%)
HSVhsv(266, 62%, 64%)
CMYKcmyk(35.4%, 61.6%, 0%, 35.7%)
CIE-LABlab(36.55, 40.15, -47.88)
CIE-LCHlch(36.55, 62.48, 309.98°)
OKLaboklab(47.03% 0.0785 -0.1359)
OKLCHoklch(47.03% 0.157 300)
XYZxyz(14.4206, 9.2994, 36.1500)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FA4 #79A43F
analogous
#3F46A4 #6A3FA4 #9D3FA4
triadic
#6A3FA4 #A46A3F #3FA46A
tetradic
#6A3FA4 #A43F46 #79A43F #3FA49D
square
#6A3FA4 #A43F46 #79A43F #3FA49D
split-complementary
#6A3FA4 #A49D3F #46A43F
monochromatic
#311D4C #4D2E78 #6A3FA4 #895FC1 #A98BD2

Accessibility & contrast

On white

7.34
#6A3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6A3FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3FA4
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FA4#FFFFFF#000000##FFFFFF
##6A3FA41.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#1B55A2
Tritanopia (blue-blind)
#5E556B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a3fa4;
/* rgb */ color: rgb(106, 63, 164);
/* oklch */ color: oklch(47.0% 0.157 300.0);
Tailwind
colors: {
  custom: {
    50: '#9976c0',
    500: '#6a3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fa4;
$custom-light: #9976c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fa4",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 265.545,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47025,
    "c": 0.15695,
    "h": 300
  },
  "luminance": 0.093
}

Semantic roles & 50–950 ramp

primary
#6A3FA4
secondary
#A4BD82
accent
#D4549D
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6A3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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