#6C2EB7#6C2EB7

#6C2EB7 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.201 H 298.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6C2EB7
RGBrgb(108, 46, 183)
HSLhsl(267, 60%, 45%)
HSVhsv(267, 75%, 72%)
CMYKcmyk(41%, 74.9%, 0%, 28.2%)
CIE-LABlab(35.12, 54.01, -61.51)
CIE-LCHlch(35.12, 81.86, 311.29°)
OKLaboklab(46.5% 0.0968 -0.1758)
OKLCHoklch(46.5% 0.201 298.8)
XYZxyz(15.7064, 8.5608, 45.6155)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2EB7 #79B72E
analogous
#2E35B7 #6C2EB7 #B02EB7
triadic
#6C2EB7 #B76C2E #2EB76C
tetradic
#6C2EB7 #B72E35 #79B72E #2EB7B0
square
#6C2EB7 #B72E35 #79B72E #2EB7B0
split-complementary
#6C2EB7 #B7B02E #35B72E
monochromatic
#321555 #4F2286 #6C2EB7 #8B4FD3 #AB80DF

Accessibility & contrast

On white

7.74
#6C2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6C2EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2EB7
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2EB7#FFFFFF#000000##FFFFFF
##6C2EB71.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#5A5270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c2eb7;
/* rgb */ color: rgb(108, 46, 183);
/* oklch */ color: oklch(46.5% 0.201 298.8);
Tailwind
colors: {
  custom: {
    50: '#9d6dce',
    500: '#6c2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #6c2eb7;
$custom-light: #9d6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2eb7",
  "rgb": {
    "r": 108,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 267.153,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46504,
    "c": 0.20068,
    "h": 298.8
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#6C2EB7
secondary
#A4C879
accent
#E3459B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6C2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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