#6C3FA5#6C3FA5

#6C3FA5 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.3% C 0.159 H 300.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6C3FA5
RGBrgb(108, 63, 165)
HSLhsl(266, 45%, 45%)
HSVhsv(266, 62%, 65%)
CMYKcmyk(34.5%, 61.8%, 0%, 35.3%)
CIE-LABlab(36.85, 40.88, -47.98)
CIE-LCHlch(36.85, 63.03, 310.43°)
OKLaboklab(47.32% 0.0812 -0.1361)
OKLCHoklch(47.32% 0.159 300.8)
XYZxyz(14.7518, 9.4597, 36.6387)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FA5 #78A53F
analogous
#3F45A5 #6C3FA5 #9F3FA5
triadic
#6C3FA5 #A56C3F #3FA56C
tetradic
#6C3FA5 #A53F45 #78A53F #3FA59F
square
#6C3FA5 #A53F45 #78A53F #3FA59F
split-complementary
#6C3FA5 #A59F3F #45A53F
monochromatic
#321D4C #4F2E79 #6C3FA5 #8B5FC2 #AB8CD3

Accessibility & contrast

On white

7.26
#6C3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6C3FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3FA5
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FA5#FFFFFF#000000##FFFFFF
##6C3FA51.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#1D56A3
Tritanopia (blue-blind)
#60556C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6c3fa5;
/* rgb */ color: rgb(108, 63, 165);
/* oklch */ color: oklch(47.3% 0.159 300.8);
Tailwind
colors: {
  custom: {
    50: '#9a76c0',
    500: '#6c3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fa5;
$custom-light: #9a76c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fa5",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 266.471,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47317,
    "c": 0.15852,
    "h": 300.8
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#6C3FA5
secondary
#A3BE82
accent
#D4539B
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6C3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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