#6A3CAE#6A3CAE

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

Color values

HEX#6A3CAE
RGBrgb(106, 60, 174)
HSLhsl(264, 49%, 46%)
HSVhsv(264, 66%, 68%)
CMYKcmyk(39.1%, 65.5%, 0%, 31.8%)
CIE-LABlab(36.65, 44.43, -53.69)
CIE-LCHlch(36.65, 69.69, 309.61°)
OKLaboklab(47.32% 0.0813 -0.153)
OKLCHoklch(47.32% 0.173 298)
XYZxyz(15.1978, 9.3517, 41.0405)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CAE #80AE3C
analogous
#3C47AE #6A3CAE #A33CAE
triadic
#6A3CAE #AE6A3C #3CAE6A
tetradic
#6A3CAE #AE3C47 #80AE3C #3CAEA3
square
#6A3CAE #AE3C47 #80AE3C #3CAEA3
split-complementary
#6A3CAE #AEA33C #47AE3C
monochromatic
#331D53 #4E2C80 #6A3CAE #8A5FC8 #AB8DD8

Accessibility & contrast

On white

7.32
#6A3CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6A3CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3CAE
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CAE#FFFFFF#000000##FFFFFF
##6A3CAE1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#5A5670
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a3cae;
/* rgb */ color: rgb(106, 60, 174);
/* oklch */ color: oklch(47.3% 0.173 298.0);
Tailwind
colors: {
  custom: {
    50: '#9a75c7',
    500: '#6a3cae',
    950: '#000000',
  },
}
SCSS
$custom: #6a3cae;
$custom-light: #9a75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3cae",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 264.211,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4732,
    "c": 0.17325,
    "h": 298
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#6A3CAE
secondary
#A9C283
accent
#D850A1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6A3CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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