#6A3AA2#6A3AA2

#6A3AA2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.1% C 0.162 H 301.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#6A3AA2
RGBrgb(106, 58, 162)
HSLhsl(268, 47%, 43%)
HSVhsv(268, 64%, 64%)
CMYKcmyk(34.6%, 64.2%, 0%, 36.5%)
CIE-LABlab(35.40, 42.37, -48.54)
CIE-LCHlch(35.40, 64.43, 311.12°)
OKLaboklab(46.14% 0.0847 -0.1378)
OKLCHoklch(46.14% 0.162 301.6)
XYZxyz(13.9770, 8.6989, 35.1181)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3AA2 #72A23A
analogous
#3A3EA2 #6A3AA2 #9E3AA2
triadic
#6A3AA2 #A26A3A #3AA26A
tetradic
#6A3AA2 #A23A3E #72A23A #3AA29E
square
#6A3AA2 #A23A3E #72A23A #3AA29E
split-complementary
#6A3AA2 #A29E3A #3EA23A
monochromatic
#2F1A48 #4D2A75 #6A3AA2 #8857C3 #A884D3

Accessibility & contrast

On white

7.66
#6A3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6A3AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3AA2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3AA2#FFFFFF#000000##FFFFFF
##6A3AA21.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#1453A0
Tritanopia (blue-blind)
#5E5168
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6a3aa2;
/* rgb */ color: rgb(106, 58, 162);
/* oklch */ color: oklch(46.1% 0.162 301.6);
Tailwind
colors: {
  custom: {
    50: '#9973be',
    500: '#6a3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3aa2;
$custom-light: #9973be;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3aa2",
  "rgb": {
    "r": 106,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 267.692,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46141,
    "c": 0.16178,
    "h": 301.6
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#6A3AA2
secondary
#9EBD7B
accent
#D75199
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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