#6C2BB8#6C2BB8

#6C2BB8 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.205 H 298.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6C2BB8
RGBrgb(108, 43, 184)
HSLhsl(268, 62%, 45%)
HSVhsv(268, 77%, 72%)
CMYKcmyk(41.3%, 76.6%, 0%, 27.8%)
CIE-LABlab(34.75, 55.56, -62.70)
CIE-LCHlch(34.75, 83.77, 311.54°)
OKLaboklab(46.27% 0.0991 -0.1793)
OKLCHoklch(46.27% 0.205 298.9)
XYZxyz(15.6977, 8.3764, 46.1279)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2BB8 #77B82B
analogous
#2B30B8 #6C2BB8 #B32BB8
triadic
#6C2BB8 #B86C2B #2BB86C
tetradic
#6C2BB8 #B82B30 #77B82B #2BB8B3
square
#6C2BB8 #B82B30 #77B82B #2BB8B3
split-complementary
#6C2BB8 #B8B32B #30B82B
monochromatic
#321455 #4F1F86 #6C2BB8 #8B4BD5 #AB7DE1

Accessibility & contrast

On white

7.85
#6C2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6C2BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2BB8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2BB8#FFFFFF#000000##FFFFFF
##6C2BB81.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#595170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c2bb8;
/* rgb */ color: rgb(108, 43, 184);
/* oklch */ color: oklch(46.3% 0.205 298.9);
Tailwind
colors: {
  custom: {
    50: '#9d6cce',
    500: '#6c2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #6c2bb8;
$custom-light: #9d6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2bb8",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 267.66,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4627,
    "c": 0.20488,
    "h": 298.9
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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