#6C3FA4#6C3FA4

#6C3FA4 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.2% C 0.157 H 301.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6C3FA4
RGBrgb(108, 63, 164)
HSLhsl(267, 44%, 45%)
HSVhsv(267, 62%, 64%)
CMYKcmyk(34.1%, 61.6%, 0%, 35.7%)
CIE-LABlab(36.79, 40.62, -47.49)
CIE-LCHlch(36.79, 62.49, 310.54°)
OKLaboklab(47.25% 0.0812 -0.1347)
OKLCHoklch(47.25% 0.157 301.1)
XYZxyz(14.6611, 9.4234, 36.1613)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FA4 #77A43F
analogous
#3F45A4 #6C3FA4 #9F3FA4
triadic
#6C3FA4 #A46C3F #3FA46C
tetradic
#6C3FA4 #A43F45 #77A43F #3FA49F
square
#6C3FA4 #A43F45 #77A43F #3FA49F
split-complementary
#6C3FA4 #A49F3F #45A43F
monochromatic
#321D4C #4F2E78 #6C3FA4 #8B5FC1 #AB8BD2

Accessibility & contrast

On white

7.28
#6C3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6C3FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3FA4
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FA4#FFFFFF#000000##FFFFFF
##6C3FA41.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#1E56A2
Tritanopia (blue-blind)
#60546B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6c3fa4;
/* rgb */ color: rgb(108, 63, 164);
/* oklch */ color: oklch(47.2% 0.157 301.1);
Tailwind
colors: {
  custom: {
    50: '#9a76c0',
    500: '#6c3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fa4;
$custom-light: #9a76c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fa4",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 266.733,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47246,
    "c": 0.1573,
    "h": 301.1
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#6C3FA4
secondary
#A3BD82
accent
#D4549B
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6C3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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