#6A3ACD#6A3ACD

#6A3ACD is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.212 H 291.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#6A3ACD
RGBrgb(106, 58, 205)
HSLhsl(260, 60%, 52%)
HSVhsv(260, 72%, 80%)
CMYKcmyk(48.3%, 71.7%, 0%, 19.6%)
CIE-LABlab(38.72, 53.76, -68.52)
CIE-LCHlch(38.72, 87.09, 308.12°)
OKLaboklab(49.56% 0.0783 -0.1966)
OKLCHoklch(49.56% 0.212 291.7)
XYZxyz(18.4733, 10.4974, 58.7986)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3ACD #9DCD3A
analogous
#3A54CD #6A3ACD #B43ACD
triadic
#6A3ACD #CD6A3A #3ACD6A
tetradic
#6A3ACD #CD3A54 #9DCD3A #3ACDB4
square
#6A3ACD #CD3A54 #9DCD3A #3ACDB4
split-complementary
#6A3ACD #CDB43A #54CD3A
monochromatic
#381C70 #5029A1 #6A3ACD #8F6BD9 #B49CE6

Accessibility & contrast

On white

6.78
#6A3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6A3ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3ACD
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3ACD#FFFFFF#000000##FFFFFF
##6A3ACD1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#4A6080
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a3acd;
/* rgb */ color: rgb(106, 58, 205);
/* oklch */ color: oklch(49.6% 0.212 291.7);
Tailwind
colors: {
  custom: {
    50: '#9d74dd',
    500: '#6a3acd',
    950: '#000000',
  },
}
SCSS
$custom: #6a3acd;
$custom-light: #9d74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3acd",
  "rgb": {
    "r": 106,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 259.592,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49559,
    "c": 0.21157,
    "h": 291.7
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

primary
#6A3ACD
secondary
#BDD291
accent
#E345AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A3ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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