#6A3EC9#6A3EC9

#6A3EC9 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.7% C 0.202 H 291.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#6A3EC9
RGBrgb(106, 62, 201)
HSLhsl(259, 56%, 52%)
HSVhsv(259, 69%, 79%)
CMYKcmyk(47.3%, 69.2%, 0%, 21.2%)
CIE-LABlab(39.11, 50.66, -65.56)
CIE-LCHlch(39.11, 82.85, 307.70°)
OKLaboklab(49.74% 0.0754 -0.1879)
OKLCHoklch(49.74% 0.202 291.9)
XYZxyz(18.2061, 10.7258, 56.3580)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EC9 #9DC93E
analogous
#3E58C9 #6A3EC9 #B03EC9
triadic
#6A3EC9 #C96A3E #3EC96A
tetradic
#6A3EC9 #C93E58 #9DC93E #3EC9B0
square
#6A3EC9 #C93E58 #9DC93E #3EC9B0
split-complementary
#6A3EC9 #C9B03E #58C93E
monochromatic
#381F6E #502C9E #6A3EC9 #8F6ED6 #B49EE4

Accessibility & contrast

On white

6.68
#6A3EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6A3EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3EC9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EC9#FFFFFF#000000##FFFFFF
##6A3EC91.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#4C617F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a3ec9;
/* rgb */ color: rgb(106, 62, 201);
/* oklch */ color: oklch(49.7% 0.202 291.9);
Tailwind
colors: {
  custom: {
    50: '#9d77da',
    500: '#6a3ec9',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ec9;
$custom-light: #9d77da;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ec9",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 201
  },
  "hsl": {
    "h": 258.993,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49737,
    "c": 0.20244,
    "h": 291.9
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#6A3EC9
secondary
#BDD093
accent
#E048B0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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