#6C3FA3#6C3FA3

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

Color values

HEX#6C3FA3
RGBrgb(108, 63, 163)
HSLhsl(267, 44%, 44%)
HSVhsv(267, 61%, 64%)
CMYKcmyk(33.7%, 61.3%, 0%, 36.1%)
CIE-LABlab(36.72, 40.36, -47.00)
CIE-LCHlch(36.72, 61.95, 310.65°)
OKLaboklab(47.18% 0.0813 -0.1333)
OKLCHoklch(47.18% 0.156 301.4)
XYZxyz(14.5711, 9.3874, 35.6875)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FA3 #76A33F
analogous
#3F44A3 #6C3FA3 #9E3FA3
triadic
#6C3FA3 #A36C3F #3FA36C
tetradic
#6C3FA3 #A33F44 #76A33F #3FA39E
square
#6C3FA3 #A33F44 #76A33F #3FA39E
split-complementary
#6C3FA3 #A39E3F #44A33F
monochromatic
#321D4B #4F2E77 #6C3FA3 #8B5EC1 #AB8AD2

Accessibility & contrast

On white

7.30
#6C3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C3FA3
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FA3#FFFFFF#000000##FFFFFF
##6C3FA31.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#2056A1
Tritanopia (blue-blind)
#61546B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6c3fa3;
/* rgb */ color: rgb(108, 63, 163);
/* oklch */ color: oklch(47.2% 0.156 301.4);
Tailwind
colors: {
  custom: {
    50: '#9a76bf',
    500: '#6c3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fa3;
$custom-light: #9a76bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fa3",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 267,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47176,
    "c": 0.15609,
    "h": 301.4
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#6C3FA3
secondary
#A2BD81
accent
#D4549A
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6C3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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