#6A3BBA#6A3BBA

#6A3BBA is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.189 H 295.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6A3BBA
RGBrgb(106, 59, 186)
HSLhsl(262, 52%, 48%)
HSVhsv(262, 68%, 73%)
CMYKcmyk(43%, 68.3%, 0%, 27.1%)
CIE-LABlab(37.37, 48.15, -59.63)
CIE-LCHlch(37.37, 76.65, 308.92°)
OKLaboklab(48.12% 0.0808 -0.1705)
OKLCHoklch(48.12% 0.189 295.4)
XYZxyz(16.3684, 9.7369, 47.4619)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BBA #8BBA3B
analogous
#3B4BBA #6A3BBA #AA3BBA
triadic
#6A3BBA #BA6A3B #3BBA6A
tetradic
#6A3BBA #BA3B4B #8BBA3B #3BBAAA
square
#6A3BBA #BA3B4B #8BBA3B #3BBAAA
split-complementary
#6A3BBA #BAAA3B #4BBA3B
monochromatic
#351E5D #502C8C #6A3BBA #8B64CE #AE93DD

Accessibility & contrast

On white

7.12
#6A3BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6A3BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3BBA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BBA#FFFFFF#000000##FFFFFF
##6A3BBA1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#555A76
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a3bba;
/* rgb */ color: rgb(106, 59, 186);
/* oklch */ color: oklch(48.1% 0.189 295.4);
Tailwind
colors: {
  custom: {
    50: '#9b74d0',
    500: '#6a3bba',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bba;
$custom-light: #9b74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bba",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 262.205,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48117,
    "c": 0.18864,
    "h": 295.4
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#6A3BBA
secondary
#B1C889
accent
#DB4DA6
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A3BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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