#6B3AB4#6B3AB4

#6B3AB4 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.183 H 297.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6B3AB4
RGBrgb(107, 58, 180)
HSLhsl(264, 51%, 47%)
HSVhsv(264, 68%, 71%)
CMYKcmyk(40.6%, 67.8%, 0%, 29.4%)
CIE-LABlab(36.83, 47.28, -56.96)
CIE-LCHlch(36.83, 74.02, 309.69°)
OKLaboklab(47.62% 0.0842 -0.1625)
OKLCHoklch(47.62% 0.183 297.4)
XYZxyz(15.8126, 9.4469, 44.1615)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3AB4 #83B43A
analogous
#3A46B4 #6B3AB4 #A83AB4
triadic
#6B3AB4 #B46B3A #3AB46B
tetradic
#6B3AB4 #B43A46 #83B43A #3AB4A8
square
#6B3AB4 #B43A46 #83B43A #3AB4A8
split-complementary
#6B3AB4 #B4A83A #46B43A
monochromatic
#341C57 #4F2B86 #6B3AB4 #8B60CC #AD8EDB

Accessibility & contrast

On white

7.27
#6B3AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6B3AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3AB4
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3AB4#FFFFFF#000000##FFFFFF
##6B3AB41.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#595772
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b3ab4;
/* rgb */ color: rgb(107, 58, 180);
/* oklch */ color: oklch(47.6% 0.183 297.4);
Tailwind
colors: {
  custom: {
    50: '#9b74cb',
    500: '#6b3ab4',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ab4;
$custom-light: #9b74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ab4",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 264.098,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47615,
    "c": 0.18304,
    "h": 297.4
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#6B3AB4
secondary
#ABC585
accent
#DB4DA2
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B3AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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