#6C3EA2#6C3EA2

#6C3EA2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.0% C 0.156 H 301.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6C3EA2
RGBrgb(108, 62, 162)
HSLhsl(268, 45%, 44%)
HSVhsv(268, 62%, 64%)
CMYKcmyk(33.3%, 61.7%, 0%, 36.5%)
CIE-LABlab(36.45, 40.66, -46.84)
CIE-LCHlch(36.45, 62.02, 310.96°)
OKLaboklab(46.96% 0.0826 -0.1328)
OKLCHoklch(46.96% 0.156 301.9)
XYZxyz(14.4270, 9.2420, 35.1992)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3EA2 #74A23E
analogous
#3E42A2 #6C3EA2 #9E3EA2
triadic
#6C3EA2 #A26C3E #3EA26C
tetradic
#6C3EA2 #A23E42 #74A23E #3EA29E
square
#6C3EA2 #A23E42 #74A23E #3EA29E
split-complementary
#6C3EA2 #A29E3E #42A23E
monochromatic
#311C49 #4E2D76 #6C3EA2 #8B5CC1 #AA89D2

Accessibility & contrast

On white

7.37
#6C3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6C3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3EA2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3EA2#FFFFFF#000000##FFFFFF
##6C3EA21.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#2055A0
Tritanopia (blue-blind)
#61536A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6c3ea2;
/* rgb */ color: rgb(108, 62, 162);
/* oklch */ color: oklch(47.0% 0.156 301.9);
Tailwind
colors: {
  custom: {
    50: '#9a76be',
    500: '#6c3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ea2;
$custom-light: #9a76be;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ea2",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 267.6,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46955,
    "c": 0.15636,
    "h": 301.9
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

primary
#6C3EA2
secondary
#A0BC80
accent
#D45399
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6C3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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