#6C2BB2#6C2BB2

#6C2BB2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.199 H 300.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6C2BB2
RGBrgb(108, 43, 178)
HSLhsl(269, 61%, 43%)
HSVhsv(269, 76%, 70%)
CMYKcmyk(39.3%, 75.8%, 0%, 30.2%)
CIE-LABlab(34.25, 54.09, -59.96)
CIE-LCHlch(34.25, 80.75, 312.05°)
OKLaboklab(45.76% 0.1006 -0.1713)
OKLCHoklch(45.76% 0.199 300.4)
XYZxyz(15.0821, 8.1301, 42.8855)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2BB2 #71B22B
analogous
#2B2DB2 #6C2BB2 #AF2BB2
triadic
#6C2BB2 #B26C2B #2BB26C
tetradic
#6C2BB2 #B22B2D #71B22B #2BB2AF
square
#6C2BB2 #B22B2D #71B22B #2BB2AF
split-complementary
#6C2BB2 #B2AF2B #2DB22B
monochromatic
#30134F #4E1F81 #6C2BB2 #8B48D3 #AA79DF

Accessibility & contrast

On white

8.00
#6C2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6C2BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2BB2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2BB2#FFFFFF#000000##FFFFFF
##6C2BB21.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#5C4E6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c2bb2;
/* rgb */ color: rgb(108, 43, 178);
/* oklch */ color: oklch(45.8% 0.199 300.4);
Tailwind
colors: {
  custom: {
    50: '#9c6bca',
    500: '#6c2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #6c2bb2;
$custom-light: #9c6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2bb2",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 268.889,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45762,
    "c": 0.19863,
    "h": 300.4
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#6C2BB2
secondary
#9EC772
accent
#E44497
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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