#6C2CB7#6C2CB7

#6C2CB7 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.203 H 299.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#6C2CB7
RGBrgb(108, 44, 183)
HSLhsl(268, 61%, 45%)
HSVhsv(268, 76%, 72%)
CMYKcmyk(41%, 76%, 0%, 28.2%)
CIE-LABlab(34.82, 54.89, -62.00)
CIE-LCHlch(34.82, 82.81, 311.51°)
OKLaboklab(46.29% 0.0985 -0.1773)
OKLCHoklch(46.29% 0.203 299.1)
XYZxyz(15.6301, 8.4082, 45.5900)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2CB7 #77B72C
analogous
#2C32B7 #6C2CB7 #B22CB7
triadic
#6C2CB7 #B76C2C #2CB76C
tetradic
#6C2CB7 #B72C32 #77B72C #2CB7B2
square
#6C2CB7 #B72C32 #77B72C #2CB7B2
split-complementary
#6C2CB7 #B7B22C #32B72C
monochromatic
#321454 #4F2086 #6C2CB7 #8B4CD4 #AB7EE0

Accessibility & contrast

On white

7.83
#6C2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6C2CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2CB7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2CB7#FFFFFF#000000##FFFFFF
##6C2CB71.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#5A5170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c2cb7;
/* rgb */ color: rgb(108, 44, 183);
/* oklch */ color: oklch(46.3% 0.203 299.1);
Tailwind
colors: {
  custom: {
    50: '#9d6cce',
    500: '#6c2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #6c2cb7;
$custom-light: #9d6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2cb7",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 267.626,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46289,
    "c": 0.20281,
    "h": 299.1
  },
  "luminance": 0.08408
}

Semantic roles & 50–950 ramp

primary
#6C2CB7
secondary
#A3C876
accent
#E4439A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6C2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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