#6A3AB0#6A3AB0

#6A3AB0 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.178 H 297.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6A3AB0
RGBrgb(106, 58, 176)
HSLhsl(264, 50%, 46%)
HSVhsv(264, 67%, 69%)
CMYKcmyk(39.8%, 67%, 0%, 31%)
CIE-LABlab(36.41, 46.02, -55.27)
CIE-LCHlch(36.41, 71.92, 309.78°)
OKLaboklab(47.19% 0.0833 -0.1576)
OKLCHoklch(47.19% 0.178 297.8)
XYZxyz(15.2914, 9.2246, 42.0408)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3AB0 #80B03A
analogous
#3A45B0 #6A3AB0 #A53AB0
triadic
#6A3AB0 #B06A3A #3AB06A
tetradic
#6A3AB0 #B03A45 #80B03A #3AB0A5
square
#6A3AB0 #B03A45 #80B03A #3AB0A5
split-complementary
#6A3AB0 #B0A53A #45B03A
monochromatic
#331C54 #4E2B82 #6A3AB0 #8A5DCA #AB8BD9

Accessibility & contrast

On white

7.38
#6A3AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6A3AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3AB0
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3AB0#FFFFFF#000000##FFFFFF
##6A3AB01.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#595670
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a3ab0;
/* rgb */ color: rgb(106, 58, 176);
/* oklch */ color: oklch(47.2% 0.178 297.8);
Tailwind
colors: {
  custom: {
    50: '#9a73c8',
    500: '#6a3ab0',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ab0;
$custom-light: #9a73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ab0",
  "rgb": {
    "r": 106,
    "g": 58,
    "b": 176
  },
  "hsl": {
    "h": 264.407,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47194,
    "c": 0.17826,
    "h": 297.8
  },
  "luminance": 0.09225
}

Semantic roles & 50–950 ramp

primary
#6A3AB0
secondary
#A9C382
accent
#DA4EA1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A3AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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