#6C3EAF#6C3EAF

#6C3EAF is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.9% C 0.172 H 298.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#6C3EAF
RGBrgb(108, 62, 175)
HSLhsl(264, 48%, 46%)
HSVhsv(264, 65%, 69%)
CMYKcmyk(38.3%, 64.6%, 0%, 31.4%)
CIE-LABlab(37.35, 44.05, -53.14)
CIE-LCHlch(37.35, 69.03, 309.65°)
OKLaboklab(47.9% 0.0817 -0.1513)
OKLCHoklch(47.9% 0.172 298.4)
XYZxyz(15.6429, 9.7283, 41.6027)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3EAF #81AF3E
analogous
#3E49AF #6C3EAF #A53EAF
triadic
#6C3EAF #AF6C3E #3EAF6C
tetradic
#6C3EAF #AF3E49 #81AF3E #3EAFA5
square
#6C3EAF #AF3E49 #81AF3E #3EAFA5
split-complementary
#6C3EAF #AFA53E #49AF3E
monochromatic
#341E55 #502E82 #6C3EAF #8C63C8 #AD90D8

Accessibility & contrast

On white

7.13
#6C3EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6C3EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3EAF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3EAF#FFFFFF#000000##FFFFFF
##6C3EAF1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c3eaf;
/* rgb */ color: rgb(108, 62, 175);
/* oklch */ color: oklch(47.9% 0.172 298.4);
Tailwind
colors: {
  custom: {
    50: '#9b76c8',
    500: '#6c3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #6c3eaf;
$custom-light: #9b76c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3eaf",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 264.425,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47899,
    "c": 0.17197,
    "h": 298.4
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

primary
#6C3EAF
secondary
#AAC386
accent
#D751A0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6C3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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