#6A3BC2#6A3BC2

#6A3BC2 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.8% C 0.198 H 293.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#6A3BC2
RGBrgb(106, 59, 194)
HSLhsl(261, 53%, 50%)
HSVhsv(261, 70%, 76%)
CMYKcmyk(45.4%, 69.6%, 0%, 23.9%)
CIE-LABlab(38.00, 50.30, -63.30)
CIE-LCHlch(38.00, 80.85, 308.47°)
OKLaboklab(48.77% 0.0795 -0.1812)
OKLCHoklch(48.77% 0.198 293.7)
XYZxyz(17.2428, 10.0866, 52.0669)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BC2 #93C23B
analogous
#3B4FC2 #6A3BC2 #AE3BC2
triadic
#6A3BC2 #C26A3B #3BC26A
tetradic
#6A3BC2 #C23B4F #93C23B #3BC2AE
square
#6A3BC2 #C23B4F #93C23B #3BC2AE
split-complementary
#6A3BC2 #C2AE3B #4FC23B
monochromatic
#371E64 #502D93 #6A3BC2 #8D69D1 #B198E0

Accessibility & contrast

On white

6.96
#6A3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6A3BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3BC2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BC2#FFFFFF#000000##FFFFFF
##6A3BC21.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#505D7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a3bc2;
/* rgb */ color: rgb(106, 59, 194);
/* oklch */ color: oklch(48.8% 0.198 293.7);
Tailwind
colors: {
  custom: {
    50: '#9c75d5',
    500: '#6a3bc2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bc2;
$custom-light: #9c75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bc2",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 260.889,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.1979,
    "h": 293.7
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#6A3BC2
secondary
#B6CB8E
accent
#DD4BAA
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A3BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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