#6B3AAE#6B3AAE

#6B3AAE is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.176 H 298.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6B3AAE
RGBrgb(107, 58, 174)
HSLhsl(265, 50%, 45%)
HSVhsv(265, 67%, 68%)
CMYKcmyk(38.5%, 66.7%, 0%, 31.8%)
CIE-LABlab(36.38, 45.70, -54.13)
CIE-LCHlch(36.38, 70.84, 310.18°)
OKLaboklab(47.15% 0.0849 -0.1542)
OKLCHoklch(47.15% 0.176 298.8)
XYZxyz(15.2145, 9.2077, 41.0119)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3AAE #7DAE3A
analogous
#3A43AE #6B3AAE #A53AAE
triadic
#6B3AAE #AE6B3A #3AAE6B
tetradic
#6B3AAE #AE3A43 #7DAE3A #3AAEA5
square
#6B3AAE #AE3A43 #7DAE3A #3AAEA5
split-complementary
#6B3AAE #AEA53A #43AE3A
monochromatic
#331B52 #4F2B80 #6B3AAE #8A5CC9 #AB8AD8

Accessibility & contrast

On white

7.39
#6B3AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B3AAE
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3AAE#FFFFFF#000000##FFFFFF
##6B3AAE1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#5B556F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b3aae;
/* rgb */ color: rgb(107, 58, 174);
/* oklch */ color: oklch(47.2% 0.176 298.8);
Tailwind
colors: {
  custom: {
    50: '#9b73c7',
    500: '#6b3aae',
    950: '#000000',
  },
}
SCSS
$custom: #6b3aae;
$custom-light: #9b73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3aae",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 265.345,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.17607,
    "h": 298.8
  },
  "luminance": 0.09208
}

Semantic roles & 50–950 ramp

primary
#6B3AAE
secondary
#A7C281
accent
#DA4E9F
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B3AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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