#6A3DC3#6A3DC3

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

Color values

HEX#6A3DC3
RGBrgb(106, 61, 195)
HSLhsl(260, 53%, 50%)
HSVhsv(260, 69%, 76%)
CMYKcmyk(45.6%, 68.7%, 0%, 23.5%)
CIE-LABlab(38.45, 49.54, -63.15)
CIE-LCHlch(38.45, 80.26, 308.12°)
OKLaboklab(49.11% 0.0774 -0.1808)
OKLCHoklch(49.11% 0.197 293.2)
XYZxyz(17.4602, 10.3413, 52.6953)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DC3 #96C33D
analogous
#3D53C3 #6A3DC3 #AD3DC3
triadic
#6A3DC3 #C36A3D #3DC36A
tetradic
#6A3DC3 #C33D53 #96C33D #3DC3AD
square
#6A3DC3 #C33D53 #96C33D #3DC3AD
split-complementary
#6A3DC3 #C3AD3D #53C33D
monochromatic
#372066 #512E95 #6A3DC3 #8E6CD1 #B29AE0

Accessibility & contrast

On white

6.84
#6A3DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A3DC3
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DC3#FFFFFF#000000##FFFFFF
##6A3DC31.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#505E7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a3dc3;
/* rgb */ color: rgb(106, 61, 195);
/* oklch */ color: oklch(49.1% 0.197 293.2);
Tailwind
colors: {
  custom: {
    50: '#9c76d6',
    500: '#6a3dc3',
    950: '#000000',
  },
}
SCSS
$custom: #6a3dc3;
$custom-light: #9c76d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3dc3",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 260.149,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49112,
    "c": 0.19666,
    "h": 293.2
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A3DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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