#6A3EE2#6A3EE2

#6A3EE2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.231 H 287.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6A3EE2
RGBrgb(106, 62, 226)
HSLhsl(256, 74%, 56%)
HSVhsv(256, 73%, 89%)
CMYKcmyk(53.1%, 72.6%, 0%, 11.4%)
CIE-LABlab(41.22, 57.51, -76.50)
CIE-LCHlch(41.22, 95.71, 306.94°)
OKLaboklab(51.88% 0.0704 -0.22)
OKLCHoklch(51.88% 0.231 287.7)
XYZxyz(21.3899, 11.9993, 73.1258)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EE2 #B6E23E
analogous
#3E64E2 #6A3EE2 #BC3EE2
triadic
#6A3EE2 #E26A3E #3EE26A
tetradic
#6A3EE2 #E23E64 #B6E23E #3EE2BC
square
#6A3EE2 #E23E64 #B6E23E #3EE2BC
split-complementary
#6A3EE2 #E2BC3E #64E23E
monochromatic
#361690 #4B1EC5 #6A3EE2 #9373EA #BCA8F2

Accessibility & contrast

On white

6.18
#6A3EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6A3EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3EE2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EE2#FFFFFF#000000##FFFFFF
##6A3EE21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#396B8D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a3ee2;
/* rgb */ color: rgb(106, 62, 226);
/* oklch */ color: oklch(51.9% 0.231 287.7);
Tailwind
colors: {
  custom: {
    50: '#a078ec',
    500: '#6a3ee2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ee2;
$custom-light: #a078ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ee2",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 226
  },
  "hsl": {
    "h": 256.098,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51875,
    "c": 0.23096,
    "h": 287.7
  },
  "luminance": 0.12
}

Semantic roles & 50–950 ramp

primary
#6A3EE2
secondary
#CEE09C
accent
#F137BF
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A3EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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