#6E3CA2#6E3CA2

#6E3CA2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.9% C 0.160 H 303.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6E3CA2
RGBrgb(110, 60, 162)
HSLhsl(269, 46%, 44%)
HSVhsv(269, 63%, 64%)
CMYKcmyk(32.1%, 63%, 0%, 36.5%)
CIE-LABlab(36.28, 42.22, -47.09)
CIE-LCHlch(36.28, 63.25, 311.88°)
OKLaboklab(46.89% 0.0878 -0.1335)
OKLCHoklch(46.89% 0.16 303.3)
XYZxyz(14.5664, 9.1554, 35.1752)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E3CA2 #70A23C
analogous
#3C3DA2 #6E3CA2 #A13CA2
triadic
#6E3CA2 #A26E3C #3CA26E
tetradic
#6E3CA2 #A23C3D #70A23C #3CA2A1
square
#6E3CA2 #A23C3D #70A23C #3CA2A1
split-complementary
#6E3CA2 #A2A13C #3DA23C
monochromatic
#311B49 #502B75 #6E3CA2 #8D59C2 #AB86D2

Accessibility & contrast

On white

7.42
#6E3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6E3CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E3CA2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E3CA2#FFFFFF#000000##FFFFFF
##6E3CA21.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#645169
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6e3ca2;
/* rgb */ color: rgb(110, 60, 162);
/* oklch */ color: oklch(46.9% 0.160 303.3);
Tailwind
colors: {
  custom: {
    50: '#9b74be',
    500: '#6e3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #6e3ca2;
$custom-light: #9b74be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e3ca2",
  "rgb": {
    "r": 110,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 269.412,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4689,
    "c": 0.15975,
    "h": 303.3
  },
  "luminance": 0.09155
}

Semantic roles & 50–950 ramp

primary
#6E3CA2
secondary
#9EBC7D
accent
#D65295
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6E3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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