#6A3ED1#6A3ED1

#6A3ED1 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.4% C 0.212 H 290.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6A3ED1
RGBrgb(106, 62, 209)
HSLhsl(258, 62%, 53%)
HSVhsv(258, 70%, 82%)
CMYKcmyk(49.3%, 70.3%, 0%, 18%)
CIE-LABlab(39.77, 52.85, -69.12)
CIE-LCHlch(39.77, 87.01, 307.40°)
OKLaboklab(50.41% 0.0739 -0.1983)
OKLCHoklch(50.41% 0.212 290.4)
XYZxyz(19.1718, 11.1121, 61.4439)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3ED1 #A5D13E
analogous
#3E5BD1 #6A3ED1 #B33ED1
triadic
#6A3ED1 #D16A3E #3ED16A
tetradic
#6A3ED1 #D13E5B #A5D13E #3ED1B3
square
#6A3ED1 #D13E5B #A5D13E #3ED1B3
split-complementary
#6A3ED1 #D1B33E #5BD13E
monochromatic
#381D78 #4F28A9 #6A3ED1 #906FDD #B6A1E9

Accessibility & contrast

On white

6.52
#6A3ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6A3ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3ED1
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3ED1#FFFFFF#000000##FFFFFF
##6A3ED11.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D5
Deuteranopia (green-blind)
#005ACE
Tritanopia (blue-blind)
#476483
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a3ed1;
/* rgb */ color: rgb(106, 62, 209);
/* oklch */ color: oklch(50.4% 0.212 290.4);
Tailwind
colors: {
  custom: {
    50: '#9e77e0',
    500: '#6a3ed1',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ed1;
$custom-light: #9e77e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ed1",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 209
  },
  "hsl": {
    "h": 257.959,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50406,
    "c": 0.21167,
    "h": 290.4
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

primary
#6A3ED1
secondary
#C2D596
accent
#E543B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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