#6A3EAA#6A3EAA

#6A3EAA is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.166 H 298.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6A3EAA
RGBrgb(106, 62, 170)
HSLhsl(264, 47%, 45%)
HSVhsv(264, 64%, 67%)
CMYKcmyk(37.6%, 63.5%, 0%, 33.3%)
CIE-LABlab(36.76, 42.29, -51.13)
CIE-LCHlch(36.76, 66.35, 309.60°)
OKLaboklab(47.31% 0.0794 -0.1455)
OKLCHoklch(47.31% 0.166 298.6)
XYZxyz(14.9204, 9.4115, 39.0529)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EAA #7EAA3E
analogous
#3E48AA #6A3EAA #A03EAA
triadic
#6A3EAA #AA6A3E #3EAA6A
tetradic
#6A3EAA #AA3E48 #7EAA3E #3EAAA0
square
#6A3EAA #AA3E48 #7EAA3E #3EAAA0
split-complementary
#6A3EAA #AAA03E #48AA3E
monochromatic
#321D50 #4E2E7D #6A3EAA #8960C5 #AA8DD5

Accessibility & contrast

On white

7.29
#6A3EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A3EAA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EAA#FFFFFF#000000##FFFFFF
##6A3EAA1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#0955A8
Tritanopia (blue-blind)
#5B566E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a3eaa;
/* rgb */ color: rgb(106, 62, 170);
/* oklch */ color: oklch(47.3% 0.166 298.6);
Tailwind
colors: {
  custom: {
    50: '#9976c4',
    500: '#6a3eaa',
    950: '#000000',
  },
}
SCSS
$custom: #6a3eaa;
$custom-light: #9976c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3eaa",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 264.444,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4731,
    "c": 0.1657,
    "h": 298.6
  },
  "luminance": 0.09412
}

Semantic roles & 50–950 ramp

primary
#6A3EAA
secondary
#A8C084
accent
#D652A0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6A3EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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