#6C2CAE#6C2CAE

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

Color values

HEX#6C2CAE
RGBrgb(108, 44, 174)
HSLhsl(270, 60%, 43%)
HSVhsv(270, 75%, 68%)
CMYKcmyk(37.9%, 74.7%, 0%, 31.8%)
CIE-LABlab(34.08, 52.68, -57.86)
CIE-LCHlch(34.08, 78.25, 312.31°)
OKLaboklab(45.54% 0.1006 -0.1651)
OKLCHoklch(45.54% 0.193 301.4)
XYZxyz(14.7231, 8.0454, 40.8134)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2CAE #6EAE2C
analogous
#2C2DAE #6C2CAE #AD2CAE
triadic
#6C2CAE #AE6C2C #2CAE6C
tetradic
#6C2CAE #AE2C2D #6EAE2C #2CAEAD
square
#6C2CAE #AE2C2D #6EAE2C #2CAEAD
split-complementary
#6C2CAE #AEAD2C #2DAE2C
monochromatic
#2F134C #4E207D #6C2CAE #8B47D0 #A978DD

Accessibility & contrast

On white

8.05
#6C2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6C2CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2CAE
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2CAE#FFFFFF#000000##FFFFFF
##6C2CAE1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#5D4D6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c2cae;
/* rgb */ color: rgb(108, 44, 174);
/* oklch */ color: oklch(45.5% 0.193 301.4);
Tailwind
colors: {
  custom: {
    50: '#9c6cc7',
    500: '#6c2cae',
    950: '#000000',
  },
}
SCSS
$custom: #6c2cae;
$custom-light: #9c6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2cae",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 269.538,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45537,
    "c": 0.19336,
    "h": 301.4
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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