#6C4FA3#6C4FA3

#6C4FA3 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.8% C 0.131 H 297.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6C4FA3
RGBrgb(108, 79, 163)
HSLhsl(261, 35%, 47%)
HSVhsv(261, 52%, 64%)
CMYKcmyk(33.7%, 51.5%, 0%, 36.1%)
CIE-LABlab(40.29, 31.08, -41.29)
CIE-LCHlch(40.29, 51.68, 306.98°)
OKLaboklab(49.8% 0.0603 -0.1165)
OKLCHoklch(49.8% 0.131 297.3)
XYZxyz(15.5896, 11.4243, 36.0270)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4FA3 #86A34F
analogous
#4F5CA3 #6C4FA3 #964FA3
triadic
#6C4FA3 #A36C4F #4FA36C
tetradic
#6C4FA3 #A34F5C #86A34F #4FA396
square
#6C4FA3 #A34F5C #86A34F #4FA396
split-complementary
#6C4FA3 #A3964F #5CA34F
monochromatic
#352751 #513B7A #6C4FA3 #8C74BB #AE9DCF

Accessibility & contrast

On white

6.39
#6C4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6C4FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4FA3
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4FA3#FFFFFF#000000##FFFFFF
##6C4FA31.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA6
Deuteranopia (green-blind)
#385EA1
Tritanopia (blue-blind)
#605F71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6c4fa3;
/* rgb */ color: rgb(108, 79, 163);
/* oklch */ color: oklch(49.8% 0.131 297.3);
Tailwind
colors: {
  custom: {
    50: '#9981bf',
    500: '#6c4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #6c4fa3;
$custom-light: #9981bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4fa3",
  "rgb": {
    "r": 108,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 260.714,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49803,
    "c": 0.13118,
    "h": 297.3
  },
  "luminance": 0.11424
}

Semantic roles & 50–950 ramp

primary
#6C4FA3
secondary
#AEBC91
accent
#CB5DA5
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6C4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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