#6C2DAE#6C2DAE

#6C2DAE is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.192 H 301.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6C2DAE
RGBrgb(108, 45, 174)
HSLhsl(269, 59%, 43%)
HSVhsv(269, 74%, 68%)
CMYKcmyk(37.9%, 74.1%, 0%, 31.8%)
CIE-LABlab(34.23, 52.23, -57.61)
CIE-LCHlch(34.23, 77.77, 312.20°)
OKLaboklab(45.65% 0.0997 -0.1644)
OKLCHoklch(45.65% 0.192 301.2)
XYZxyz(14.7608, 8.1208, 40.8260)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2DAE #6FAE2D
analogous
#2D2FAE #6C2DAE #AC2DAE
triadic
#6C2DAE #AE6C2D #2DAE6C
tetradic
#6C2DAE #AE2D2F #6FAE2D #2DAEAC
square
#6C2DAE #AE2D2F #6FAE2D #2DAEAC
split-complementary
#6C2DAE #AEAC2D #2FAE2D
monochromatic
#30144D #4E207D #6C2DAE #8B48D0 #AA79DC

Accessibility & contrast

On white

8.00
#6C2DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6C2DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2DAE
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2DAE#FFFFFF#000000##FFFFFF
##6C2DAE1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#5D4D6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c2dae;
/* rgb */ color: rgb(108, 45, 174);
/* oklch */ color: oklch(45.6% 0.192 301.2);
Tailwind
colors: {
  custom: {
    50: '#9c6cc7',
    500: '#6c2dae',
    950: '#000000',
  },
}
SCSS
$custom: #6c2dae;
$custom-light: #9c6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2dae",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 269.302,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45647,
    "c": 0.19225,
    "h": 301.2
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#6C2DAE
secondary
#9CC472
accent
#E24696
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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