#6A3AB7#6A3AB7

#6A3AB7 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.186 H 296.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6A3AB7
RGBrgb(106, 58, 183)
HSLhsl(263, 52%, 47%)
HSVhsv(263, 68%, 72%)
CMYKcmyk(42.1%, 68.3%, 0%, 28.2%)
CIE-LABlab(36.95, 47.87, -58.55)
CIE-LCHlch(36.95, 75.63, 309.27°)
OKLaboklab(47.74% 0.0823 -0.1673)
OKLCHoklch(47.74% 0.186 296.2)
XYZxyz(16.0019, 9.5088, 45.7829)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3AB7 #87B73A
analogous
#3A49B7 #6A3AB7 #A93AB7
triadic
#6A3AB7 #B76A3A #3AB76A
tetradic
#6A3AB7 #B73A49 #87B73A #3AB7A9
square
#6A3AB7 #B73A49 #87B73A #3AB7A9
split-complementary
#6A3AB7 #B7A93A #49B73A
monochromatic
#341D5A #4F2B89 #6A3AB7 #8B61CD #AD90DC

Accessibility & contrast

On white

7.24
#6A3AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A3AB7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3AB7#FFFFFF#000000##FFFFFF
##6A3AB71.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#565874
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a3ab7;
/* rgb */ color: rgb(106, 58, 183);
/* oklch */ color: oklch(47.7% 0.186 296.2);
Tailwind
colors: {
  custom: {
    50: '#9b74cd',
    500: '#6a3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ab7;
$custom-light: #9b74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ab7",
  "rgb": {
    "r": 106,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 263.04,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47744,
    "c": 0.18642,
    "h": 296.2
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#6A3AB7
secondary
#AEC786
accent
#DB4CA4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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