#6A3EC0#6A3EC0

#6A3EC0 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.192 H 293.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6A3EC0
RGBrgb(106, 62, 192)
HSLhsl(260, 51%, 50%)
HSVhsv(260, 68%, 75%)
CMYKcmyk(44.8%, 67.7%, 0%, 24.7%)
CIE-LABlab(38.40, 48.21, -61.47)
CIE-LCHlch(38.40, 78.12, 308.10°)
OKLaboklab(49.01% 0.0769 -0.1759)
OKLCHoklch(49.01% 0.192 293.6)
XYZxyz(17.1783, 10.3147, 50.9448)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EC0 #94C03E
analogous
#3E53C0 #6A3EC0 #AB3EC0
triadic
#6A3EC0 #C06A3E #3EC06A
tetradic
#6A3EC0 #C03E53 #94C03E #3EC0AB
square
#6A3EC0 #C03E53 #94C03E #3EC0AB
split-complementary
#6A3EC0 #C0AB3E #53C03E
monochromatic
#372063 #502F92 #6A3EC0 #8D6CCF #B19ADE

Accessibility & contrast

On white

6.86
#6A3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6A3EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3EC0
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EC0#FFFFFF#000000##FFFFFF
##6A3EC01.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#515E7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a3ec0;
/* rgb */ color: rgb(106, 62, 192);
/* oklch */ color: oklch(49.0% 0.192 293.6);
Tailwind
colors: {
  custom: {
    50: '#9c76d4',
    500: '#6a3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ec0;
$custom-light: #9c76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ec0",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 260.308,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49005,
    "c": 0.19193,
    "h": 293.6
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#6A3EC0
secondary
#B6CA8F
accent
#DB4DAB
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6A3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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