#6A3ACC#6A3ACC

#6A3ACC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.210 H 291.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#6A3ACC
RGBrgb(106, 58, 204)
HSLhsl(260, 59%, 51%)
HSVhsv(260, 72%, 80%)
CMYKcmyk(48%, 71.6%, 0%, 20%)
CIE-LABlab(38.64, 53.49, -68.08)
CIE-LCHlch(38.64, 86.58, 308.16°)
OKLaboklab(49.47% 0.0785 -0.1953)
OKLCHoklch(49.47% 0.21 291.9)
XYZxyz(18.3529, 10.4493, 58.1649)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3ACC #9CCC3A
analogous
#3A53CC #6A3ACC #B33ACC
triadic
#6A3ACC #CC6A3A #3ACC6A
tetradic
#6A3ACC #CC3A53 #9CCC3A #3ACCB3
square
#6A3ACC #CC3A53 #9CCC3A #3ACCB3
split-complementary
#6A3ACC #CCB33A #53CC3A
monochromatic
#381D6F #5029A0 #6A3ACC #8F6BD9 #B49BE5

Accessibility & contrast

On white

6.80
#6A3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6A3ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3ACC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3ACC#FFFFFF#000000##FFFFFF
##6A3ACC1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#4B607F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a3acc;
/* rgb */ color: rgb(106, 58, 204);
/* oklch */ color: oklch(49.5% 0.210 291.9);
Tailwind
colors: {
  custom: {
    50: '#9d74dd',
    500: '#6a3acc',
    950: '#000000',
  },
}
SCSS
$custom: #6a3acc;
$custom-light: #9d74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3acc",
  "rgb": {
    "r": 106,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 259.726,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49474,
    "c": 0.21044,
    "h": 291.9
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

primary
#6A3ACC
secondary
#BCD191
accent
#E246AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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