#6A3CC4#6A3CC4

#6A3CC4 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.1% C 0.199 H 293.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6A3CC4
RGBrgb(106, 60, 196)
HSLhsl(260, 54%, 50%)
HSVhsv(260, 69%, 77%)
CMYKcmyk(45.9%, 69.4%, 0%, 23.1%)
CIE-LABlab(38.34, 50.33, -63.91)
CIE-LCHlch(38.34, 81.34, 308.22°)
OKLaboklab(49.06% 0.0782 -0.183)
OKLCHoklch(49.06% 0.199 293.1)
XYZxyz(17.5208, 10.2809, 53.2751)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CC4 #96C43C
analogous
#3C52C4 #6A3CC4 #AE3CC4
triadic
#6A3CC4 #C46A3C #3CC46A
tetradic
#6A3CC4 #C43C52 #96C43C #3CC4AE
square
#6A3CC4 #C43C52 #96C43C #3CC4AE
split-complementary
#6A3CC4 #C4AE3C #52C43C
monochromatic
#371F67 #512D96 #6A3CC4 #8E6BD2 #B29AE0

Accessibility & contrast

On white

6.87
#6A3CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6A3CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3CC4
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CC4#FFFFFF#000000##FFFFFF
##6A3CC41.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#4F5E7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a3cc4;
/* rgb */ color: rgb(106, 60, 196);
/* oklch */ color: oklch(49.1% 0.199 293.1);
Tailwind
colors: {
  custom: {
    50: '#9c75d7',
    500: '#6a3cc4',
    950: '#000000',
  },
}
SCSS
$custom: #6a3cc4;
$custom-light: #9c75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3cc4",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 260.294,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49061,
    "c": 0.19902,
    "h": 293.1
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#6A3CC4
secondary
#B8CC90
accent
#DD4BAC
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6A3CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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