#6A3ED2#6A3ED2

#6A3ED2 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.5% C 0.213 H 290.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6A3ED2
RGBrgb(106, 62, 210)
HSLhsl(258, 62%, 53%)
HSVhsv(258, 70%, 82%)
CMYKcmyk(49.5%, 70.5%, 0%, 17.6%)
CIE-LABlab(39.85, 53.12, -69.56)
CIE-LCHlch(39.85, 87.53, 307.37°)
OKLaboklab(50.49% 0.0737 -0.1996)
OKLCHoklch(50.49% 0.213 290.3)
XYZxyz(19.2960, 11.1618, 62.0980)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3ED2 #A6D23E
analogous
#3E5CD2 #6A3ED2 #B43ED2
triadic
#6A3ED2 #D26A3E #3ED26A
tetradic
#6A3ED2 #D23E5C #A6D23E #3ED2B4
square
#6A3ED2 #D23E5C #A6D23E #3ED2B4
split-complementary
#6A3ED2 #D2B43E #5CD23E
monochromatic
#381C79 #4F28AB #6A3ED2 #9070DE #B7A1E9

Accessibility & contrast

On white

6.50
#6A3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6A3ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3ED2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3ED2#FFFFFF#000000##FFFFFF
##6A3ED21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#466484
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a3ed2;
/* rgb */ color: rgb(106, 62, 210);
/* oklch */ color: oklch(50.5% 0.213 290.3);
Tailwind
colors: {
  custom: {
    50: '#9e77e1',
    500: '#6a3ed2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ed2;
$custom-light: #9e77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ed2",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 257.838,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.21282,
    "h": 290.3
  },
  "luminance": 0.11163
}

Semantic roles & 50–950 ramp

primary
#6A3ED2
secondary
#C3D696
accent
#E543B5
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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