#6C3ACD#6C3ACD

#6C3ACD is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.212 H 292.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6C3ACD
RGBrgb(108, 58, 205)
HSLhsl(260, 60%, 52%)
HSVhsv(260, 72%, 80%)
CMYKcmyk(47.3%, 71.7%, 0%, 19.6%)
CIE-LABlab(38.94, 54.09, -68.16)
CIE-LCHlch(38.94, 87.01, 308.43°)
OKLaboklab(49.76% 0.0811 -0.1954)
OKLCHoklch(49.76% 0.212 292.5)
XYZxyz(18.7138, 10.6214, 58.8099)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3ACD #9BCD3A
analogous
#3A52CD #6C3ACD #B63ACD
triadic
#6C3ACD #CD6C3A #3ACD6C
tetradic
#6C3ACD #CD3A52 #9BCD3A #3ACDB6
square
#6C3ACD #CD3A52 #9BCD3A #3ACDB6
split-complementary
#6C3ACD #CDB63A #52CD3A
monochromatic
#391C70 #5229A1 #6C3ACD #906BD9 #B59CE6

Accessibility & contrast

On white

6.72
#6C3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6C3ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3ACD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3ACD#FFFFFF#000000##FFFFFF
##6C3ACD1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#4E6080
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6c3acd;
/* rgb */ color: rgb(108, 58, 205);
/* oklch */ color: oklch(49.8% 0.212 292.5);
Tailwind
colors: {
  custom: {
    50: '#9f75dd',
    500: '#6c3acd',
    950: '#000000',
  },
}
SCSS
$custom: #6c3acd;
$custom-light: #9f75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3acd",
  "rgb": {
    "r": 108,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 260.408,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49761,
    "c": 0.21161,
    "h": 292.5
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#6C3ACD
secondary
#BCD291
accent
#E345AD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6C3ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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