#6C2BB0#6C2BB0

#6C2BB0 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.197 H 301.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6C2BB0
RGBrgb(108, 43, 176)
HSLhsl(269, 61%, 43%)
HSVhsv(269, 76%, 69%)
CMYKcmyk(38.6%, 75.6%, 0%, 31%)
CIE-LABlab(34.09, 53.60, -59.04)
CIE-LCHlch(34.09, 79.74, 312.24°)
OKLaboklab(45.6% 0.1011 -0.1686)
OKLCHoklch(45.6% 0.197 301)
XYZxyz(14.8828, 8.0504, 41.8357)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2BB0 #6FB02B
analogous
#2B2DB0 #6C2BB0 #AE2BB0
triadic
#6C2BB0 #B06C2B #2BB06C
tetradic
#6C2BB0 #B02B2D #6FB02B #2BB0AE
square
#6C2BB0 #B02B2D #6FB02B #2BB0AE
split-complementary
#6C2BB0 #B0AE2B #2DB02B
monochromatic
#30134E #4E1F7F #6C2BB0 #8B46D2 #AA78DE

Accessibility & contrast

On white

8.05
#6C2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6C2BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2BB0
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2BB0#FFFFFF#000000##FFFFFF
##6C2BB01.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#5D4D6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c2bb0;
/* rgb */ color: rgb(108, 43, 176);
/* oklch */ color: oklch(45.6% 0.197 301.0);
Tailwind
colors: {
  custom: {
    50: '#9c6bc9',
    500: '#6c2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #6c2bb0;
$custom-light: #9c6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2bb0",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 269.323,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45595,
    "c": 0.19655,
    "h": 301
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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