#6A3ABB#6A3ABB

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

Color values

HEX#6A3ABB
RGBrgb(106, 58, 187)
HSLhsl(262, 53%, 48%)
HSVhsv(262, 69%, 73%)
CMYKcmyk(43.3%, 69%, 0%, 26.7%)
CIE-LABlab(37.26, 48.94, -60.40)
CIE-LCHlch(37.26, 77.74, 309.02°)
OKLaboklab(48.06% 0.0817 -0.1727)
OKLCHoklch(48.06% 0.191 295.3)
XYZxyz(16.4242, 9.6777, 48.0067)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3ABB #8BBB3A
analogous
#3A4ABB #6A3ABB #AB3ABB
triadic
#6A3ABB #BB6A3A #3ABB6A
tetradic
#6A3ABB #BB3A4A #8BBB3A #3ABBAB
square
#6A3ABB #BB3A4A #8BBB3A #3ABBAB
split-complementary
#6A3ABB #BBAB3A #4ABB3A
monochromatic
#351D5E #502C8C #6A3ABB #8B63CF #AE92DD

Accessibility & contrast

On white

7.15
#6A3ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6A3ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3ABB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3ABB#FFFFFF#000000##FFFFFF
##6A3ABB1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#545A76
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a3abb;
/* rgb */ color: rgb(106, 58, 187);
/* oklch */ color: oklch(48.1% 0.191 295.3);
Tailwind
colors: {
  custom: {
    50: '#9b74d0',
    500: '#6a3abb',
    950: '#000000',
  },
}
SCSS
$custom: #6a3abb;
$custom-light: #9b74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3abb",
  "rgb": {
    "r": 106,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 262.326,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48064,
    "c": 0.19104,
    "h": 295.3
  },
  "luminance": 0.09678
}

Semantic roles & 50–950 ramp

primary
#6A3ABB
secondary
#B1C888
accent
#DC4CA6
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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