#6C2CB2#6C2CB2

#6C2CB2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.198 H 300.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6C2CB2
RGBrgb(108, 44, 178)
HSLhsl(269, 60%, 44%)
HSVhsv(269, 75%, 70%)
CMYKcmyk(39.3%, 75.3%, 0%, 30.2%)
CIE-LABlab(34.40, 53.66, -59.72)
CIE-LCHlch(34.40, 80.28, 311.94°)
OKLaboklab(45.87% 0.0997 -0.1705)
OKLCHoklch(45.87% 0.198 300.3)
XYZxyz(15.1189, 8.2037, 42.8978)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2CB2 #72B22C
analogous
#2C2FB2 #6C2CB2 #AF2CB2
triadic
#6C2CB2 #B26C2C #2CB26C
tetradic
#6C2CB2 #B22C2F #72B22C #2CB2AF
square
#6C2CB2 #B22C2F #72B22C #2CB2AF
split-complementary
#6C2CB2 #B2AF2C #2FB22C
monochromatic
#301450 #4E2081 #6C2CB2 #8B49D2 #AA7ADE

Accessibility & contrast

On white

7.95
#6C2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6C2CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2CB2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2CB2#FFFFFF#000000##FFFFFF
##6C2CB21.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#5C4F6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c2cb2;
/* rgb */ color: rgb(108, 44, 178);
/* oklch */ color: oklch(45.9% 0.198 300.3);
Tailwind
colors: {
  custom: {
    50: '#9c6cca',
    500: '#6c2cb2',
    950: '#000000',
  },
}
SCSS
$custom: #6c2cb2;
$custom-light: #9c6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2cb2",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 268.657,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45869,
    "c": 0.19756,
    "h": 300.3
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#6C2CB2
secondary
#9FC673
accent
#E44497
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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