#6A3CC6#6A3CC6

#6A3CC6 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.2% C 0.201 H 292.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#6A3CC6
RGBrgb(106, 60, 198)
HSLhsl(260, 55%, 51%)
HSVhsv(260, 70%, 78%)
CMYKcmyk(46.5%, 69.7%, 0%, 22.4%)
CIE-LABlab(38.50, 50.87, -64.81)
CIE-LCHlch(38.50, 82.39, 308.13°)
OKLaboklab(49.23% 0.0778 -0.1857)
OKLCHoklch(49.23% 0.201 292.7)
XYZxyz(17.7499, 10.3725, 54.4820)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CC6 #98C63C
analogous
#3C53C6 #6A3CC6 #AF3CC6
triadic
#6A3CC6 #C66A3C #3CC66A
tetradic
#6A3CC6 #C63C53 #98C63C #3CC6AF
square
#6A3CC6 #C63C53 #98C63C #3CC6AF
split-complementary
#6A3CC6 #C6AF3C #53C63C
monochromatic
#371F69 #502D98 #6A3CC6 #8E6BD4 #B29BE2

Accessibility & contrast

On white

6.83
#6A3CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6A3CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3CC6
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CC6#FFFFFF#000000##FFFFFF
##6A3CC61.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#4E5F7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a3cc6;
/* rgb */ color: rgb(106, 60, 198);
/* oklch */ color: oklch(49.2% 0.201 292.7);
Tailwind
colors: {
  custom: {
    50: '#9c75d8',
    500: '#6a3cc6',
    950: '#000000',
  },
}
SCSS
$custom: #6a3cc6;
$custom-light: #9c75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3cc6",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 260,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49226,
    "c": 0.20132,
    "h": 292.7
  },
  "luminance": 0.10373
}

Semantic roles & 50–950 ramp

primary
#6A3CC6
secondary
#B9CE90
accent
#DE4AAD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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