#6C2BB3#6C2BB3

#6C2BB3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.200 H 300.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6C2BB3
RGBrgb(108, 43, 179)
HSLhsl(269, 61%, 44%)
HSVhsv(269, 76%, 70%)
CMYKcmyk(39.7%, 76%, 0%, 29.8%)
CIE-LABlab(34.34, 54.33, -60.42)
CIE-LCHlch(34.34, 81.26, 311.96°)
OKLaboklab(45.85% 0.1004 -0.1726)
OKLCHoklch(45.85% 0.2 300.2)
XYZxyz(15.1829, 8.1704, 43.4162)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2BB3 #72B32B
analogous
#2B2EB3 #6C2BB3 #B02BB3
triadic
#6C2BB3 #B36C2B #2BB36C
tetradic
#6C2BB3 #B32B2E #72B32B #2BB3B0
square
#6C2BB3 #B32B2E #72B32B #2BB3B0
split-complementary
#6C2BB3 #B3B02B #2EB32B
monochromatic
#301350 #4E1F82 #6C2BB3 #8B48D3 #AA79DF

Accessibility & contrast

On white

7.97
#6C2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2BB3
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2BB3#FFFFFF#000000##FFFFFF
##6C2BB31.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#5C4F6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c2bb3;
/* rgb */ color: rgb(108, 43, 179);
/* oklch */ color: oklch(45.8% 0.200 300.2);
Tailwind
colors: {
  custom: {
    50: '#9d6bcb',
    500: '#6c2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #6c2bb3;
$custom-light: #9d6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2bb3",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 268.676,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45846,
    "c": 0.19967,
    "h": 300.2
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#6C2BB3
secondary
#9FC773
accent
#E44397
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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