#6C3FA6#6C3FA6

#6C3FA6 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.4% C 0.160 H 300.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6C3FA6
RGBrgb(108, 63, 166)
HSLhsl(266, 45%, 45%)
HSVhsv(266, 62%, 65%)
CMYKcmyk(34.9%, 62%, 0%, 34.9%)
CIE-LABlab(36.92, 41.14, -48.47)
CIE-LCHlch(36.92, 63.58, 310.32°)
OKLaboklab(47.39% 0.0812 -0.1376)
OKLCHoklch(47.39% 0.16 300.5)
XYZxyz(14.8431, 9.4962, 37.1200)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FA6 #79A63F
analogous
#3F45A6 #6C3FA6 #A03FA6
triadic
#6C3FA6 #A66C3F #3FA66C
tetradic
#6C3FA6 #A63F45 #79A63F #3FA6A0
square
#6C3FA6 #A63F45 #79A63F #3FA6A0
split-complementary
#6C3FA6 #A6A03F #45A63F
monochromatic
#321D4D #4F2E7A #6C3FA6 #8B60C3 #AB8CD3

Accessibility & contrast

On white

7.24
#6C3FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6C3FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3FA6
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FA6#FFFFFF#000000##FFFFFF
##6C3FA61.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#1B56A4
Tritanopia (blue-blind)
#60556C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6c3fa6;
/* rgb */ color: rgb(108, 63, 166);
/* oklch */ color: oklch(47.4% 0.160 300.5);
Tailwind
colors: {
  custom: {
    50: '#9a76c1',
    500: '#6c3fa6',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fa6;
$custom-light: #9a76c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fa6",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 266.214,
    "s": 44.978,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47388,
    "c": 0.15973,
    "h": 300.5
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#6C3FA6
secondary
#A4BE83
accent
#D5539C
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6C3FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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