#6A3BC7#6A3BC7

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

Color values

HEX#6A3BC7
RGBrgb(106, 59, 199)
HSLhsl(260, 56%, 51%)
HSVhsv(260, 70%, 78%)
CMYKcmyk(46.7%, 70.4%, 0%, 22%)
CIE-LABlab(38.40, 51.65, -65.56)
CIE-LCHlch(38.40, 83.46, 308.23°)
OKLaboklab(49.18% 0.0786 -0.1879)
OKLCHoklch(49.18% 0.204 292.7)
XYZxyz(17.8138, 10.3150, 55.0742)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BC7 #98C73B
analogous
#3B52C7 #6A3BC7 #B03BC7
triadic
#6A3BC7 #C76A3B #3BC76A
tetradic
#6A3BC7 #C73B52 #98C73B #3BC7B0
square
#6A3BC7 #C73B52 #98C73B #3BC7B0
split-complementary
#6A3BC7 #C7B03B #52C73B
monochromatic
#371E69 #502C99 #6A3BC7 #8E6BD5 #B29AE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A3BC7#FFFFFF#000000##FFFFFF
##6A3BC71.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)
#005CCB
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#4E5F7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a3bc7;
/* rgb */ color: rgb(106, 59, 199);
/* oklch */ color: oklch(49.2% 0.204 292.7);
Tailwind
colors: {
  custom: {
    50: '#9d75d9',
    500: '#6a3bc7',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bc7;
$custom-light: #9d75d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bc7",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 260.143,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.20363,
    "h": 292.7
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#6A3BC7
secondary
#B9CE90
accent
#DF49AD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A3BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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