#6C2CB5#6C2CB5

#6C2CB5 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.201 H 299.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6C2CB5
RGBrgb(108, 44, 181)
HSLhsl(268, 61%, 44%)
HSVhsv(268, 76%, 71%)
CMYKcmyk(40.3%, 75.7%, 0%, 29%)
CIE-LABlab(34.65, 54.39, -61.09)
CIE-LCHlch(34.65, 81.80, 311.68°)
OKLaboklab(46.12% 0.099 -0.1746)
OKLCHoklch(46.12% 0.201 299.6)
XYZxyz(15.4234, 8.3255, 44.5015)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2CB5 #75B52C
analogous
#2C31B5 #6C2CB5 #B12CB5
triadic
#6C2CB5 #B56C2C #2CB56C
tetradic
#6C2CB5 #B52C31 #75B52C #2CB5B1
square
#6C2CB5 #B52C31 #75B52C #2CB5B1
split-complementary
#6C2CB5 #B5B12C #31B52C
monochromatic
#311453 #4F2084 #6C2CB5 #8B4BD3 #AA7CDF

Accessibility & contrast

On white

7.88
#6C2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6C2CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2CB5
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2CB5#FFFFFF#000000##FFFFFF
##6C2CB51.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#5B506F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c2cb5;
/* rgb */ color: rgb(108, 44, 181);
/* oklch */ color: oklch(46.1% 0.201 299.6);
Tailwind
colors: {
  custom: {
    50: '#9d6ccc',
    500: '#6c2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #6c2cb5;
$custom-light: #9d6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2cb5",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 268.029,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4612,
    "c": 0.20071,
    "h": 299.6
  },
  "luminance": 0.08326
}

Semantic roles & 50–950 ramp

primary
#6C2CB5
secondary
#A1C875
accent
#E44499
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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