#6C2BB1#6C2BB1

#6C2BB1 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.198 H 300.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6C2BB1
RGBrgb(108, 43, 177)
HSLhsl(269, 61%, 43%)
HSVhsv(269, 76%, 69%)
CMYKcmyk(39%, 75.7%, 0%, 30.6%)
CIE-LABlab(34.17, 53.84, -59.50)
CIE-LCHlch(34.17, 80.25, 312.14°)
OKLaboklab(45.68% 0.1009 -0.1699)
OKLCHoklch(45.68% 0.198 300.7)
XYZxyz(14.9821, 8.0901, 42.3587)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2BB1 #70B12B
analogous
#2B2DB1 #6C2BB1 #AF2BB1
triadic
#6C2BB1 #B16C2B #2BB16C
tetradic
#6C2BB1 #B12B2D #70B12B #2BB1AF
square
#6C2BB1 #B12B2D #70B12B #2BB1AF
split-complementary
#6C2BB1 #B1AF2B #2DB12B
monochromatic
#30134F #4E1F80 #6C2BB1 #8B47D2 #AA78DE

Accessibility & contrast

On white

8.02
#6C2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6C2BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2BB1
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2BB1#FFFFFF#000000##FFFFFF
##6C2BB11.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#5C4E6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c2bb1;
/* rgb */ color: rgb(108, 43, 177);
/* oklch */ color: oklch(45.7% 0.198 300.7);
Tailwind
colors: {
  custom: {
    50: '#9c6bc9',
    500: '#6c2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #6c2bb1;
$custom-light: #9c6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2bb1",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 269.104,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45679,
    "c": 0.19759,
    "h": 300.7
  },
  "luminance": 0.0809
}

Semantic roles & 50–950 ramp

primary
#6C2BB1
secondary
#9DC672
accent
#E44496
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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