#6C2BB6#6C2BB6

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

Color values

HEX#6C2BB6
RGBrgb(108, 43, 182)
HSLhsl(268, 62%, 44%)
HSVhsv(268, 76%, 71%)
CMYKcmyk(40.7%, 76.4%, 0%, 28.6%)
CIE-LABlab(34.59, 55.07, -61.79)
CIE-LCHlch(34.59, 82.77, 311.71°)
OKLaboklab(46.1% 0.0996 -0.1766)
OKLCHoklch(46.1% 0.203 299.4)
XYZxyz(15.4896, 8.2931, 45.0316)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2BB6 #75B62B
analogous
#2B2FB6 #6C2BB6 #B22BB6
triadic
#6C2BB6 #B66C2B #2BB66C
tetradic
#6C2BB6 #B62B2F #75B62B #2BB6B2
square
#6C2BB6 #B62B2F #75B62B #2BB6B2
split-complementary
#6C2BB6 #B6B22B #2FB62B
monochromatic
#311453 #4F1F84 #6C2BB6 #8B4AD4 #AA7BE0

Accessibility & contrast

On white

7.90
#6C2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6C2BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2BB6
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2BB6#FFFFFF#000000##FFFFFF
##6C2BB61.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#5A506F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c2bb6;
/* rgb */ color: rgb(108, 43, 182);
/* oklch */ color: oklch(46.1% 0.203 299.4);
Tailwind
colors: {
  custom: {
    50: '#9d6bcd',
    500: '#6c2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #6c2bb6;
$custom-light: #9d6bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2bb6",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 268.058,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.461,
    "c": 0.2028,
    "h": 299.4
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#6C2BB6
secondary
#A1C875
accent
#E54399
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6C2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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