#6A3EAE#6A3EAE

#6A3EAE is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.171 H 297.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6A3EAE
RGBrgb(106, 62, 174)
HSLhsl(264, 47%, 46%)
HSVhsv(264, 64%, 68%)
CMYKcmyk(39.1%, 64.4%, 0%, 31.8%)
CIE-LABlab(37.05, 43.35, -53.05)
CIE-LCHlch(37.05, 68.51, 309.26°)
OKLaboklab(47.61% 0.079 -0.1511)
OKLCHoklch(47.61% 0.171 297.6)
XYZxyz(15.3045, 9.5652, 41.0761)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EAE #82AE3E
analogous
#3E4AAE #6A3EAE #A23EAE
triadic
#6A3EAE #AE6A3E #3EAE6A
tetradic
#6A3EAE #AE3E4A #82AE3E #3EAEA2
square
#6A3EAE #AE3E4A #82AE3E #3EAEA2
split-complementary
#6A3EAE #AEA23E #4AAE3E
monochromatic
#331E54 #4F2E81 #6A3EAE #8A62C7 #AB8FD7

Accessibility & contrast

On white

7.21
#6A3EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6A3EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3EAE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EAE#FFFFFF#000000##FFFFFF
##6A3EAE1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#5A5770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a3eae;
/* rgb */ color: rgb(106, 62, 174);
/* oklch */ color: oklch(47.6% 0.171 297.6);
Tailwind
colors: {
  custom: {
    50: '#9a76c7',
    500: '#6a3eae',
    950: '#000000',
  },
}
SCSS
$custom: #6a3eae;
$custom-light: #9a76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3eae",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 263.571,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47607,
    "c": 0.17052,
    "h": 297.6
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#6A3EAE
secondary
#AAC286
accent
#D751A2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6A3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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