#6B3AA2#6B3AA2

#6B3AA2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.3% C 0.162 H 302.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#6B3AA2
RGBrgb(107, 58, 162)
HSLhsl(268, 47%, 43%)
HSVhsv(268, 64%, 64%)
CMYKcmyk(34%, 64.2%, 0%, 36.5%)
CIE-LABlab(35.52, 42.60, -48.34)
CIE-LCHlch(35.52, 64.43, 311.39°)
OKLaboklab(46.26% 0.0861 -0.1372)
OKLCHoklch(46.26% 0.162 302.1)
XYZxyz(14.0965, 8.7605, 35.1237)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3AA2 #71A23A
analogous
#3A3DA2 #6B3AA2 #9F3AA2
triadic
#6B3AA2 #A26B3A #3AA26B
tetradic
#6B3AA2 #A23A3D #71A23A #3AA29F
square
#6B3AA2 #A23A3D #71A23A #3AA29F
split-complementary
#6B3AA2 #A29F3A #3DA23A
monochromatic
#2F1A48 #4D2A75 #6B3AA2 #8957C3 #A984D3

Accessibility & contrast

On white

7.63
#6B3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6B3AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3AA2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3AA2#FFFFFF#000000##FFFFFF
##6B3AA21.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#1653A0
Tritanopia (blue-blind)
#605068
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6b3aa2;
/* rgb */ color: rgb(107, 58, 162);
/* oklch */ color: oklch(46.3% 0.162 302.1);
Tailwind
colors: {
  custom: {
    50: '#9973be',
    500: '#6b3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #6b3aa2;
$custom-light: #9973be;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3aa2",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 268.269,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46256,
    "c": 0.16198,
    "h": 302.1
  },
  "luminance": 0.08761
}

Semantic roles & 50–950 ramp

primary
#6B3AA2
secondary
#9EBD7B
accent
#D75198
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6B3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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