#6A3BB6#6A3BB6

#6A3BB6 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.8% C 0.184 H 296.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6A3BB6
RGBrgb(106, 59, 182)
HSLhsl(263, 51%, 47%)
HSVhsv(263, 68%, 71%)
CMYKcmyk(41.8%, 67.6%, 0%, 28.6%)
CIE-LABlab(37.06, 47.09, -57.78)
CIE-LCHlch(37.06, 74.53, 309.18°)
OKLaboklab(47.8% 0.0814 -0.165)
OKLCHoklch(47.8% 0.184 296.3)
XYZxyz(15.9491, 9.5692, 45.2536)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BB6 #87B63B
analogous
#3B4AB6 #6A3BB6 #A83BB6
triadic
#6A3BB6 #B66A3B #3BB66A
tetradic
#6A3BB6 #B63B4A #87B63B #3BB6A8
square
#6A3BB6 #B63B4A #87B63B #3BB6A8
split-complementary
#6A3BB6 #B6A83B #4AB63B
monochromatic
#341D5A #4F2C88 #6A3BB6 #8B62CC #AD90DB

Accessibility & contrast

On white

7.21
#6A3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6A3BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3BB6
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BB6#FFFFFF#000000##FFFFFF
##6A3BB61.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#565874
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a3bb6;
/* rgb */ color: rgb(106, 59, 182);
/* oklch */ color: oklch(47.8% 0.184 296.3);
Tailwind
colors: {
  custom: {
    50: '#9b74cd',
    500: '#6a3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bb6;
$custom-light: #9b74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bb6",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 262.927,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.478,
    "c": 0.18399,
    "h": 296.3
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#6A3BB6
secondary
#AEC687
accent
#DB4DA5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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