#6B3EAE#6B3EAE

#6B3EAE is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.171 H 298.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#6B3EAE
RGBrgb(107, 62, 174)
HSLhsl(264, 47%, 46%)
HSVhsv(264, 64%, 68%)
CMYKcmyk(38.5%, 64.4%, 0%, 31.8%)
CIE-LABlab(37.16, 43.57, -52.86)
CIE-LCHlch(37.16, 68.50, 309.50°)
OKLaboklab(47.72% 0.0804 -0.1505)
OKLCHoklch(47.72% 0.171 298.1)
XYZxyz(15.4241, 9.6268, 41.0817)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EAE #81AE3E
analogous
#3E49AE #6B3EAE #A33EAE
triadic
#6B3EAE #AE6B3E #3EAE6B
tetradic
#6B3EAE #AE3E49 #81AE3E #3EAEA3
square
#6B3EAE #AE3E49 #81AE3E #3EAEA3
split-complementary
#6B3EAE #AEA33E #49AE3E
monochromatic
#341E54 #4F2E81 #6B3EAE #8B62C7 #AC8FD7

Accessibility & contrast

On white

7.18
#6B3EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6B3EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3EAE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EAE#FFFFFF#000000##FFFFFF
##6B3EAE1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#5B5770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b3eae;
/* rgb */ color: rgb(107, 62, 174);
/* oklch */ color: oklch(47.7% 0.171 298.1);
Tailwind
colors: {
  custom: {
    50: '#9a76c7',
    500: '#6b3eae',
    950: '#000000',
  },
}
SCSS
$custom: #6b3eae;
$custom-light: #9a76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3eae",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 264.107,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47715,
    "c": 0.17064,
    "h": 298.1
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#6B3EAE
secondary
#AAC286
accent
#D751A1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6B3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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