#6B3ABE#6B3ABE

#6B3ABE is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.195 H 295.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#6B3ABE
RGBrgb(107, 58, 190)
HSLhsl(262, 53%, 49%)
HSVhsv(262, 69%, 75%)
CMYKcmyk(43.7%, 69.5%, 0%, 25.5%)
CIE-LABlab(37.61, 49.92, -61.59)
CIE-LCHlch(37.61, 79.28, 309.03°)
OKLaboklab(48.41% 0.0826 -0.1762)
OKLCHoklch(48.41% 0.195 295.1)
XYZxyz(16.8682, 9.8692, 49.7214)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3ABE #8DBE3A
analogous
#3A4BBE #6B3ABE #AD3ABE
triadic
#6B3ABE #BE6B3A #3ABE6B
tetradic
#6B3ABE #BE3A4B #8DBE3A #3ABEAD
square
#6B3ABE #BE3A4B #8DBE3A #3ABEAD
split-complementary
#6B3ABE #BEAD3A #4BBE3A
monochromatic
#361D60 #512C8F #6B3ABE #8D65D0 #B094DE

Accessibility & contrast

On white

7.06
#6B3ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6B3ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3ABE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3ABE#FFFFFF#000000##FFFFFF
##6B3ABE1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#545B78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b3abe;
/* rgb */ color: rgb(107, 58, 190);
/* oklch */ color: oklch(48.4% 0.195 295.1);
Tailwind
colors: {
  custom: {
    50: '#9c74d3',
    500: '#6b3abe',
    950: '#000000',
  },
}
SCSS
$custom: #6b3abe;
$custom-light: #9c74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3abe",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 262.273,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.19456,
    "h": 295.1
  },
  "luminance": 0.0987
}

Semantic roles & 50–950 ramp

primary
#6B3ABE
secondary
#B2CA8A
accent
#DD4BA7
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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