#6B3AAA#6B3AAA

#6B3AAA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.8% C 0.171 H 299.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#6B3AAA
RGBrgb(107, 58, 170)
HSLhsl(266, 49%, 45%)
HSVhsv(266, 66%, 67%)
CMYKcmyk(37.1%, 65.9%, 0%, 33.3%)
CIE-LABlab(36.09, 44.66, -52.21)
CIE-LCHlch(36.09, 68.71, 310.54°)
OKLaboklab(46.85% 0.0854 -0.1486)
OKLCHoklch(46.85% 0.171 299.9)
XYZxyz(14.8304, 9.0541, 38.9887)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3AAA #79AA3A
analogous
#3A41AA #6B3AAA #A33AAA
triadic
#6B3AAA #AA6B3A #3AAA6B
tetradic
#6B3AAA #AA3A41 #79AA3A #3AAAA3
square
#6B3AAA #AA3A41 #79AA3A #3AAAA3
split-complementary
#6B3AAA #AAA33A #41AA3A
monochromatic
#321B4F #4E2A7C #6B3AAA #8A5AC7 #AA88D6

Accessibility & contrast

On white

7.47
#6B3AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6B3AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3AAA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3AAA#FFFFFF#000000##FFFFFF
##6B3AAA1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#5D536D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b3aaa;
/* rgb */ color: rgb(107, 58, 170);
/* oklch */ color: oklch(46.8% 0.171 299.9);
Tailwind
colors: {
  custom: {
    50: '#9a73c4',
    500: '#6b3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #6b3aaa;
$custom-light: #9a73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3aaa",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 266.25,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46847,
    "c": 0.17139,
    "h": 299.9
  },
  "luminance": 0.09054
}

Semantic roles & 50–950 ramp

primary
#6B3AAA
secondary
#A4C17F
accent
#D94F9C
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6B3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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