#6B3EAC#6B3EAC

#6B3EAC is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.168 H 298.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6B3EAC
RGBrgb(107, 62, 172)
HSLhsl(265, 47%, 46%)
HSVhsv(265, 64%, 67%)
CMYKcmyk(37.8%, 64%, 0%, 32.5%)
CIE-LABlab(37.02, 43.04, -51.90)
CIE-LCHlch(37.02, 67.42, 309.67°)
OKLaboklab(47.57% 0.0806 -0.1477)
OKLCHoklch(47.57% 0.168 298.6)
XYZxyz(15.2306, 9.5494, 40.0625)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EAC #7FAC3E
analogous
#3E48AC #6B3EAC #A23EAC
triadic
#6B3EAC #AC6B3E #3EAC6B
tetradic
#6B3EAC #AC3E48 #7FAC3E #3EACA2
square
#6B3EAC #AC3E48 #7FAC3E #3EACA2
split-complementary
#6B3EAC #ACA23E #48AC3E
monochromatic
#331E52 #4F2E7F #6B3EAC #8A61C6 #AC8ED6

Accessibility & contrast

On white

7.22
#6B3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6B3EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3EAC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EAC#FFFFFF#000000##FFFFFF
##6B3EAC1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#0556AA
Tritanopia (blue-blind)
#5C576F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b3eac;
/* rgb */ color: rgb(107, 62, 172);
/* oklch */ color: oklch(47.6% 0.168 298.6);
Tailwind
colors: {
  custom: {
    50: '#9a76c5',
    500: '#6b3eac',
    950: '#000000',
  },
}
SCSS
$custom: #6b3eac;
$custom-light: #9a76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3eac",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 264.545,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47567,
    "c": 0.16824,
    "h": 298.6
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#6B3EAC
secondary
#A8C185
accent
#D751A0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6B3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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