#6C2CAD#6C2CAD

#6C2CAD is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.192 H 301.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6C2CAD
RGBrgb(108, 44, 173)
HSLhsl(270, 59%, 43%)
HSVhsv(270, 75%, 68%)
CMYKcmyk(37.6%, 74.6%, 0%, 32.2%)
CIE-LABlab(34.00, 52.43, -57.40)
CIE-LCHlch(34.00, 77.74, 312.41°)
OKLaboklab(45.46% 0.1009 -0.1637)
OKLCHoklch(45.46% 0.192 301.6)
XYZxyz(14.6260, 8.0066, 40.3019)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2CAD #6DAD2C
analogous
#2C2DAD #6C2CAD #AC2CAD
triadic
#6C2CAD #AD6C2C #2CAD6C
tetradic
#6C2CAD #AD2C2D #6DAD2C #2CADAC
square
#6C2CAD #AD2C2D #6DAD2C #2CADAC
split-complementary
#6C2CAD #ADAC2C #2DAD2C
monochromatic
#2F134B #4E207C #6C2CAD #8B46D0 #A977DC

Accessibility & contrast

On white

8.07
#6C2CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6C2CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2CAD
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2CAD#FFFFFF#000000##FFFFFF
##6C2CAD1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#5E4D6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c2cad;
/* rgb */ color: rgb(108, 44, 173);
/* oklch */ color: oklch(45.5% 0.192 301.6);
Tailwind
colors: {
  custom: {
    50: '#9c6cc6',
    500: '#6c2cad',
    950: '#000000',
  },
}
SCSS
$custom: #6c2cad;
$custom-light: #9c6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2cad",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 269.767,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45455,
    "c": 0.19231,
    "h": 301.6
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#6C2CAD
secondary
#9BC471
accent
#E34595
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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