#6C2AB7#6C2AB7

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

Color values

HEX#6C2AB7
RGBrgb(108, 42, 183)
HSLhsl(268, 63%, 44%)
HSVhsv(268, 77%, 72%)
CMYKcmyk(41%, 77%, 0%, 28.2%)
CIE-LABlab(34.52, 55.73, -62.49)
CIE-LCHlch(34.52, 83.73, 311.73°)
OKLaboklab(46.08% 0.1002 -0.1787)
OKLCHoklch(46.08% 0.205 299.3)
XYZxyz(15.5574, 8.2628, 45.5658)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2AB7 #75B72A
analogous
#2A2FB7 #6C2AB7 #B32AB7
triadic
#6C2AB7 #B76C2A #2AB76C
tetradic
#6C2AB7 #B72A2F #75B72A #2AB7B3
square
#6C2AB7 #B72A2F #75B72A #2AB7B3
split-complementary
#6C2AB7 #B7B32A #2FB72A
monochromatic
#311353 #4F1F85 #6C2AB7 #8B49D5 #AA7BE1

Accessibility & contrast

On white

7.92
#6C2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6C2AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2AB7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2AB7#FFFFFF#000000##FFFFFF
##6C2AB71.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#5A5070
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c2ab7;
/* rgb */ color: rgb(108, 42, 183);
/* oklch */ color: oklch(46.1% 0.205 299.3);
Tailwind
colors: {
  custom: {
    50: '#9d6bce',
    500: '#6c2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ab7;
$custom-light: #9d6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ab7",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 268.085,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46083,
    "c": 0.20485,
    "h": 299.3
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#6C2AB7
secondary
#A1C974
accent
#E64299
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6C2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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