#6C41AF#6C41AF

#6C41AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.3% C 0.168 H 297.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#6C41AF
RGBrgb(108, 65, 175)
HSLhsl(263, 46%, 47%)
HSVhsv(263, 63%, 69%)
CMYKcmyk(38.3%, 62.9%, 0%, 31.4%)
CIE-LABlab(37.96, 42.41, -52.16)
CIE-LCHlch(37.96, 67.23, 309.11°)
OKLaboklab(48.34% 0.0782 -0.1484)
OKLCHoklch(48.34% 0.168 297.8)
XYZxyz(15.8105, 10.0637, 41.6586)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C41AF #84AF41
analogous
#414DAF #6C41AF #A341AF
triadic
#6C41AF #AF6C41 #41AF6C
tetradic
#6C41AF #AF414D #84AF41 #41AFA3
square
#6C41AF #AF414D #84AF41 #41AFA3
split-complementary
#6C41AF #AFA341 #4DAF41
monochromatic
#352056 #503082 #6C41AF #8C67C6 #AE93D7

Accessibility & contrast

On white

6.97
#6C41AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6C41AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C41AF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C41AF#FFFFFF#000000##FFFFFF
##6C41AF1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#0958AD
Tritanopia (blue-blind)
#5C5972
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c41af;
/* rgb */ color: rgb(108, 65, 175);
/* oklch */ color: oklch(48.3% 0.168 297.8);
Tailwind
colors: {
  custom: {
    50: '#9b78c8',
    500: '#6c41af',
    950: '#000000',
  },
}
SCSS
$custom: #6c41af;
$custom-light: #9b78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c41af",
  "rgb": {
    "r": 108,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 263.455,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48338,
    "c": 0.1678,
    "h": 297.8
  },
  "luminance": 0.10064
}

Semantic roles & 50–950 ramp

primary
#6C41AF
secondary
#ACC289
accent
#D552A2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6C41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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