#6A3BBC#6A3BBC

#6A3BBC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.191 H 294.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6A3BBC
RGBrgb(106, 59, 188)
HSLhsl(262, 52%, 48%)
HSVhsv(262, 69%, 74%)
CMYKcmyk(43.6%, 68.6%, 0%, 26.3%)
CIE-LABlab(37.52, 48.69, -60.56)
CIE-LCHlch(37.52, 77.70, 308.80°)
OKLaboklab(48.28% 0.0805 -0.1732)
OKLCHoklch(48.28% 0.191 294.9)
XYZxyz(16.5825, 9.8225, 48.5894)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BBC #8DBC3B
analogous
#3B4DBC #6A3BBC #AA3BBC
triadic
#6A3BBC #BC6A3B #3BBC6A
tetradic
#6A3BBC #BC3B4D #8DBC3B #3BBCAA
square
#6A3BBC #BC3B4D #8DBC3B #3BBCAA
split-complementary
#6A3BBC #BCAA3B #4DBC3B
monochromatic
#351E5F #502C8D #6A3BBC #8C65CF #AF94DD

Accessibility & contrast

On white

7.08
#6A3BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6A3BBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3BBC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BBC#FFFFFF#000000##FFFFFF
##6A3BBC1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#545B77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a3bbc;
/* rgb */ color: rgb(106, 59, 188);
/* oklch */ color: oklch(48.3% 0.191 294.9);
Tailwind
colors: {
  custom: {
    50: '#9b74d1',
    500: '#6a3bbc',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bbc;
$custom-light: #9b74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bbc",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 188
  },
  "hsl": {
    "h": 261.86,
    "s": 52.227,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48277,
    "c": 0.19097,
    "h": 294.9
  },
  "luminance": 0.09823
}

Semantic roles & 50–950 ramp

primary
#6A3BBC
secondary
#B2C98A
accent
#DC4CA7
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A3BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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