#6A3FA1#6A3FA1

#6A3FA1 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.8% C 0.153 H 300.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6A3FA1
RGBrgb(106, 63, 161)
HSLhsl(266, 44%, 44%)
HSVhsv(266, 61%, 63%)
CMYKcmyk(34.2%, 60.9%, 0%, 36.9%)
CIE-LABlab(36.35, 39.36, -46.40)
CIE-LCHlch(36.35, 60.85, 310.31°)
OKLaboklab(46.81% 0.0786 -0.1316)
OKLCHoklch(46.81% 0.153 300.9)
XYZxyz(14.1529, 9.1923, 34.7400)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FA1 #76A13F
analogous
#3F45A1 #6A3FA1 #9B3FA1
triadic
#6A3FA1 #A16A3F #3FA16A
tetradic
#6A3FA1 #A13F45 #76A13F #3FA19B
square
#6A3FA1 #A13F45 #76A13F #3FA19B
split-complementary
#6A3FA1 #A19B3F #45A13F
monochromatic
#301D49 #4D2E75 #6A3FA1 #895DC0 #A989D1

Accessibility & contrast

On white

7.40
#6A3FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6A3FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3FA1
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FA1#FFFFFF#000000##FFFFFF
##6A3FA11.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0455A4
Deuteranopia (green-blind)
#20559F
Tritanopia (blue-blind)
#5F536A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a3fa1;
/* rgb */ color: rgb(106, 63, 161);
/* oklch */ color: oklch(46.8% 0.153 300.9);
Tailwind
colors: {
  custom: {
    50: '#9876bd',
    500: '#6a3fa1',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fa1;
$custom-light: #9876bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fa1",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 266.327,
    "s": 43.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46812,
    "c": 0.15326,
    "h": 300.9
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#6A3FA1
secondary
#A2BC80
accent
#D3549C
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6A3FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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