#6C3FAF#6C3FAF

#6C3FAF is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.0% C 0.171 H 298.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6C3FAF
RGBrgb(108, 63, 175)
HSLhsl(264, 47%, 47%)
HSVhsv(264, 64%, 69%)
CMYKcmyk(38.3%, 64%, 0%, 31.4%)
CIE-LABlab(37.55, 43.51, -52.82)
CIE-LCHlch(37.55, 68.43, 309.48°)
OKLaboklab(48.04% 0.0806 -0.1504)
OKLCHoklch(48.04% 0.171 298.2)
XYZxyz(15.6978, 9.8381, 41.6210)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FAF #82AF3F
analogous
#3F4AAF #6C3FAF #A43FAF
triadic
#6C3FAF #AF6C3F #3FAF6C
tetradic
#6C3FAF #AF3F4A #82AF3F #3FAFA4
square
#6C3FAF #AF3F4A #82AF3F #3FAFA4
split-complementary
#6C3FAF #AFA43F #4AAF3F
monochromatic
#341F55 #502F82 #6C3FAF #8C64C7 #AD91D7

Accessibility & contrast

On white

7.08
#6C3FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6C3FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3FAF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FAF#FFFFFF#000000##FFFFFF
##6C3FAF1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#5C5871
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c3faf;
/* rgb */ color: rgb(108, 63, 175);
/* oklch */ color: oklch(48.0% 0.171 298.2);
Tailwind
colors: {
  custom: {
    50: '#9b77c8',
    500: '#6c3faf',
    950: '#000000',
  },
}
SCSS
$custom: #6c3faf;
$custom-light: #9b77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3faf",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 264.107,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48043,
    "c": 0.17059,
    "h": 298.2
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#6C3FAF
secondary
#ABC387
accent
#D751A1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6C3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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