#6C2BB7#6C2BB7

#6C2BB7 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.204 H 299.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6C2BB7
RGBrgb(108, 43, 183)
HSLhsl(268, 62%, 44%)
HSVhsv(268, 77%, 72%)
CMYKcmyk(41%, 76.5%, 0%, 28.2%)
CIE-LABlab(34.67, 55.31, -62.25)
CIE-LCHlch(34.67, 83.27, 311.62°)
OKLaboklab(46.18% 0.0993 -0.178)
OKLCHoklch(46.18% 0.204 299.2)
XYZxyz(15.5933, 8.3346, 45.5778)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2BB7 #76B72B
analogous
#2B30B7 #6C2BB7 #B22BB7
triadic
#6C2BB7 #B76C2B #2BB76C
tetradic
#6C2BB7 #B72B30 #76B72B #2BB7B2
square
#6C2BB7 #B72B30 #76B72B #2BB7B2
split-complementary
#6C2BB7 #B7B22B #30B72B
monochromatic
#321454 #4F1F85 #6C2BB7 #8B4BD5 #AB7CE0

Accessibility & contrast

On white

7.87
#6C2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6C2BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2BB7
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2BB7#FFFFFF#000000##FFFFFF
##6C2BB71.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#5A5070
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c2bb7;
/* rgb */ color: rgb(108, 43, 183);
/* oklch */ color: oklch(46.2% 0.204 299.2);
Tailwind
colors: {
  custom: {
    50: '#9d6cce',
    500: '#6c2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #6c2bb7;
$custom-light: #9d6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2bb7",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 267.857,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46185,
    "c": 0.20383,
    "h": 299.2
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#6C2BB7
secondary
#A2C975
accent
#E5439A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6C2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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