#6A3BC3#6A3BC3

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

Color values

HEX#6A3BC3
RGBrgb(106, 59, 195)
HSLhsl(261, 54%, 50%)
HSVhsv(261, 70%, 76%)
CMYKcmyk(45.6%, 69.7%, 0%, 23.5%)
CIE-LABlab(38.08, 50.57, -63.75)
CIE-LCHlch(38.08, 81.37, 308.42°)
OKLaboklab(48.85% 0.0793 -0.1826)
OKLCHoklch(48.85% 0.199 293.5)
XYZxyz(17.3554, 10.1317, 52.6604)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BC3 #94C33B
analogous
#3B50C3 #6A3BC3 #AE3BC3
triadic
#6A3BC3 #C36A3B #3BC36A
tetradic
#6A3BC3 #C33B50 #94C33B #3BC3AE
square
#6A3BC3 #C33B50 #94C33B #3BC3AE
split-complementary
#6A3BC3 #C3AE3B #50C33B
monochromatic
#371F65 #502D94 #6A3BC3 #8D69D2 #B198E0

Accessibility & contrast

On white

6.94
#6A3BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6A3BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3BC3
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BC3#FFFFFF#000000##FFFFFF
##6A3BC31.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#505D7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a3bc3;
/* rgb */ color: rgb(106, 59, 195);
/* oklch */ color: oklch(48.8% 0.199 293.5);
Tailwind
colors: {
  custom: {
    50: '#9c75d6',
    500: '#6a3bc3',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bc3;
$custom-light: #9c75d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bc3",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 260.735,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48847,
    "c": 0.19904,
    "h": 293.5
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A3BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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