#6A3EA2#6A3EA2

#6A3EA2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.7% C 0.156 H 300.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6A3EA2
RGBrgb(106, 62, 162)
HSLhsl(266, 45%, 44%)
HSVhsv(266, 62%, 64%)
CMYKcmyk(34.6%, 61.7%, 0%, 36.5%)
CIE-LABlab(36.21, 40.18, -47.23)
CIE-LCHlch(36.21, 62.01, 310.39°)
OKLaboklab(46.73% 0.0798 -0.134)
OKLCHoklch(46.73% 0.156 300.8)
XYZxyz(14.1865, 9.1180, 35.1880)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EA2 #76A23E
analogous
#3E44A2 #6A3EA2 #9C3EA2
triadic
#6A3EA2 #A26A3E #3EA26A
tetradic
#6A3EA2 #A23E44 #76A23E #3EA29C
square
#6A3EA2 #A23E44 #76A23E #3EA29C
split-complementary
#6A3EA2 #A29C3E #44A23E
monochromatic
#301C49 #4D2D76 #6A3EA2 #895CC1 #A989D2

Accessibility & contrast

On white

7.44
#6A3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6A3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3EA2
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EA2#FFFFFF#000000##FFFFFF
##6A3EA21.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#1D55A0
Tritanopia (blue-blind)
#5E536A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a3ea2;
/* rgb */ color: rgb(106, 62, 162);
/* oklch */ color: oklch(46.7% 0.156 300.8);
Tailwind
colors: {
  custom: {
    50: '#9875be',
    500: '#6a3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ea2;
$custom-light: #9875be;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ea2",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 266.4,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46731,
    "c": 0.15597,
    "h": 300.8
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#6A3EA2
secondary
#A2BC80
accent
#D4539C
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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