#6A3DC2#6A3DC2

#6A3DC2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.196 H 293.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6A3DC2
RGBrgb(106, 61, 194)
HSLhsl(260, 52%, 50%)
HSVhsv(260, 69%, 76%)
CMYKcmyk(45.4%, 68.6%, 0%, 23.9%)
CIE-LABlab(38.37, 49.27, -62.69)
CIE-LCHlch(38.37, 79.74, 308.16°)
OKLaboklab(49.03% 0.0775 -0.1795)
OKLCHoklch(49.03% 0.196 293.4)
XYZxyz(17.3475, 10.2962, 52.1018)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DC2 #95C23D
analogous
#3D52C2 #6A3DC2 #AD3DC2
triadic
#6A3DC2 #C26A3D #3DC26A
tetradic
#6A3DC2 #C23D52 #95C23D #3DC2AD
square
#6A3DC2 #C23D52 #95C23D #3DC2AD
split-complementary
#6A3DC2 #C2AD3D #52C23D
monochromatic
#372065 #512E93 #6A3DC2 #8E6CD1 #B29ADF

Accessibility & contrast

On white

6.86
#6A3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A3DC2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DC2#FFFFFF#000000##FFFFFF
##6A3DC21.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a3dc2;
/* rgb */ color: rgb(106, 61, 194);
/* oklch */ color: oklch(49.0% 0.196 293.4);
Tailwind
colors: {
  custom: {
    50: '#9c76d5',
    500: '#6a3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3dc2;
$custom-light: #9c76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3dc2",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 260.301,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.1955,
    "h": 293.4
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#6A3DC2
secondary
#B7CB90
accent
#DC4CAB
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6A3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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