#6A3ED3#6A3ED3

#6A3ED3 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.214 H 290.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6A3ED3
RGBrgb(106, 62, 211)
HSLhsl(258, 63%, 54%)
HSVhsv(258, 71%, 83%)
CMYKcmyk(49.8%, 70.6%, 0%, 17.3%)
CIE-LABlab(39.93, 53.40, -70.00)
CIE-LCHlch(39.93, 88.04, 307.34°)
OKLaboklab(50.58% 0.0735 -0.2009)
OKLCHoklch(50.58% 0.214 290.1)
XYZxyz(19.4210, 11.2118, 62.7562)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3ED3 #A7D33E
analogous
#3E5CD3 #6A3ED3 #B43ED3
triadic
#6A3ED3 #D36A3E #3ED36A
tetradic
#6A3ED3 #D33E5C #A7D33E #3ED3B4
square
#6A3ED3 #D33E5C #A7D33E #3ED3B4
split-complementary
#6A3ED3 #D3B43E #5CD33E
monochromatic
#381C7B #4F27AC #6A3ED3 #9070DE #B7A2EA

Accessibility & contrast

On white

6.48
#6A3ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6A3ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3ED3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3ED3#FFFFFF#000000##FFFFFF
##6A3ED31.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#466584
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a3ed3;
/* rgb */ color: rgb(106, 62, 211);
/* oklch */ color: oklch(50.6% 0.214 290.1);
Tailwind
colors: {
  custom: {
    50: '#9e77e2',
    500: '#6a3ed3',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ed3;
$custom-light: #9e77e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ed3",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 257.718,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50575,
    "c": 0.21396,
    "h": 290.1
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

primary
#6A3ED3
secondary
#C3D696
accent
#E642B5
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6A3ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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