#6A3EAC#6A3EAC

#6A3EAC is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.168 H 298.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6A3EAC
RGBrgb(106, 62, 172)
HSLhsl(264, 47%, 46%)
HSVhsv(264, 64%, 67%)
CMYKcmyk(38.4%, 64%, 0%, 32.5%)
CIE-LABlab(36.91, 42.82, -52.09)
CIE-LCHlch(36.91, 67.43, 309.42°)
OKLaboklab(47.46% 0.0792 -0.1483)
OKLCHoklch(47.46% 0.168 298.1)
XYZxyz(15.1110, 9.4878, 40.0569)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EAC #80AC3E
analogous
#3E49AC #6A3EAC #A13EAC
triadic
#6A3EAC #AC6A3E #3EAC6A
tetradic
#6A3EAC #AC3E49 #80AC3E #3EACA1
square
#6A3EAC #AC3E49 #80AC3E #3EACA1
split-complementary
#6A3EAC #ACA13E #49AC3E
monochromatic
#331E52 #4E2E7F #6A3EAC #8A61C6 #AB8ED6

Accessibility & contrast

On white

7.25
#6A3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6A3EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3EAC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EAC#FFFFFF#000000##FFFFFF
##6A3EAC1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#0156AA
Tritanopia (blue-blind)
#5B576F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a3eac;
/* rgb */ color: rgb(106, 62, 172);
/* oklch */ color: oklch(47.5% 0.168 298.1);
Tailwind
colors: {
  custom: {
    50: '#9976c5',
    500: '#6a3eac',
    950: '#000000',
  },
}
SCSS
$custom: #6a3eac;
$custom-light: #9976c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3eac",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 264,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47458,
    "c": 0.16811,
    "h": 298.1
  },
  "luminance": 0.09488
}

Semantic roles & 50–950 ramp

primary
#6A3EAC
secondary
#A9C185
accent
#D751A1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6A3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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