#6B3AAB#6B3AAB

#6B3AAB is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.9% C 0.173 H 299.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6B3AAB
RGBrgb(107, 58, 171)
HSLhsl(266, 49%, 45%)
HSVhsv(266, 66%, 67%)
CMYKcmyk(37.4%, 66.1%, 0%, 32.9%)
CIE-LABlab(36.16, 44.92, -52.69)
CIE-LCHlch(36.16, 69.24, 310.45°)
OKLaboklab(46.92% 0.0853 -0.15)
OKLCHoklch(46.92% 0.173 299.6)
XYZxyz(14.9253, 9.0920, 39.4888)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3AAB #7AAB3A
analogous
#3A41AB #6B3AAB #A43AAB
triadic
#6B3AAB #AB6B3A #3AAB6B
tetradic
#6B3AAB #AB3A41 #7AAB3A #3AABA4
square
#6B3AAB #AB3A41 #7AAB3A #3AABA4
split-complementary
#6B3AAB #ABA43A #41AB3A
monochromatic
#321B50 #4E2A7D #6B3AAB #8A5BC7 #AB89D7

Accessibility & contrast

On white

7.45
#6B3AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6B3AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3AAB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3AAB#FFFFFF#000000##FFFFFF
##6B3AAB1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#5D546D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b3aab;
/* rgb */ color: rgb(107, 58, 171);
/* oklch */ color: oklch(46.9% 0.173 299.6);
Tailwind
colors: {
  custom: {
    50: '#9a73c5',
    500: '#6b3aab',
    950: '#000000',
  },
}
SCSS
$custom: #6b3aab;
$custom-light: #9a73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3aab",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 266.018,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46923,
    "c": 0.17256,
    "h": 299.6
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#6B3AAB
secondary
#A5C180
accent
#D94F9D
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6B3AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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