#6B3AB2#6B3AB2

#6B3AB2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.181 H 297.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6B3AB2
RGBrgb(107, 58, 178)
HSLhsl(265, 51%, 46%)
HSVhsv(265, 67%, 70%)
CMYKcmyk(39.9%, 67.4%, 0%, 30.2%)
CIE-LABlab(36.68, 46.75, -56.02)
CIE-LCHlch(36.68, 72.96, 309.85°)
OKLaboklab(47.46% 0.0844 -0.1598)
OKLCHoklch(47.46% 0.181 297.8)
XYZxyz(15.6103, 9.3660, 43.0962)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3AB2 #81B23A
analogous
#3A45B2 #6B3AB2 #A73AB2
triadic
#6B3AB2 #B26B3A #3AB26B
tetradic
#6B3AB2 #B23A45 #81B23A #3AB2A7
square
#6B3AB2 #B23A45 #81B23A #3AB2A7
split-complementary
#6B3AB2 #B2A73A #45B23A
monochromatic
#341C56 #4F2B84 #6B3AB2 #8B5FCB #AC8DDA

Accessibility & contrast

On white

7.31
#6B3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6B3AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3AB2
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3AB2#FFFFFF#000000##FFFFFF
##6B3AB21.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#5A5671
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b3ab2;
/* rgb */ color: rgb(107, 58, 178);
/* oklch */ color: oklch(47.5% 0.181 297.8);
Tailwind
colors: {
  custom: {
    50: '#9b73ca',
    500: '#6b3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ab2;
$custom-light: #9b73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ab2",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 264.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47459,
    "c": 0.18072,
    "h": 297.8
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

primary
#6B3AB2
secondary
#AAC483
accent
#DA4DA1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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