#6A3ECA#6A3ECA

#6A3ECA is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.8% C 0.204 H 291.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#6A3ECA
RGBrgb(106, 62, 202)
HSLhsl(259, 57%, 52%)
HSVhsv(259, 69%, 79%)
CMYKcmyk(47.5%, 69.3%, 0%, 20.8%)
CIE-LABlab(39.20, 50.93, -66.00)
CIE-LCHlch(39.20, 83.37, 307.66°)
OKLaboklab(49.82% 0.0752 -0.1892)
OKLCHoklch(49.82% 0.204 291.7)
XYZxyz(18.3242, 10.7730, 56.9796)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3ECA #9ECA3E
analogous
#3E58CA #6A3ECA #B03ECA
triadic
#6A3ECA #CA6A3E #3ECA6A
tetradic
#6A3ECA #CA3E58 #9ECA3E #3ECAB0
square
#6A3ECA #CA3E58 #9ECA3E #3ECAB0
split-complementary
#6A3ECA #CAB03E #58CA3E
monochromatic
#381F6F #502C9F #6A3ECA #8F6ED7 #B49EE4

Accessibility & contrast

On white

6.66
#6A3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A3ECA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3ECA#FFFFFF#000000##FFFFFF
##6A3ECA1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a3eca;
/* rgb */ color: rgb(106, 62, 202);
/* oklch */ color: oklch(49.8% 0.204 291.7);
Tailwind
colors: {
  custom: {
    50: '#9d77db',
    500: '#6a3eca',
    950: '#000000',
  },
}
SCSS
$custom: #6a3eca;
$custom-light: #9d77db;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3eca",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 258.857,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.4982,
    "c": 0.2036,
    "h": 291.7
  },
  "luminance": 0.10774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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