#6C2BB5#6C2BB5

#6C2BB5 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.202 H 299.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6C2BB5
RGBrgb(108, 43, 181)
HSLhsl(268, 62%, 44%)
HSVhsv(268, 76%, 71%)
CMYKcmyk(40.3%, 76.2%, 0%, 29%)
CIE-LABlab(34.50, 54.82, -61.34)
CIE-LCHlch(34.50, 82.27, 311.79°)
OKLaboklab(46.02% 0.0999 -0.1753)
OKLCHoklch(46.02% 0.202 299.7)
XYZxyz(15.3866, 8.2519, 44.4892)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2BB5 #74B52B
analogous
#2B2FB5 #6C2BB5 #B12BB5
triadic
#6C2BB5 #B56C2B #2BB56C
tetradic
#6C2BB5 #B52B2F #74B52B #2BB5B1
square
#6C2BB5 #B52B2F #74B52B #2BB5B1
split-complementary
#6C2BB5 #B5B12B #2FB52B
monochromatic
#311452 #4E1F84 #6C2BB5 #8B49D4 #AA7BE0

Accessibility & contrast

On white

7.92
#6C2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6C2BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2BB5
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2BB5#FFFFFF#000000##FFFFFF
##6C2BB51.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#5B4F6F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c2bb5;
/* rgb */ color: rgb(108, 43, 181);
/* oklch */ color: oklch(46.0% 0.202 299.7);
Tailwind
colors: {
  custom: {
    50: '#9d6bcc',
    500: '#6c2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #6c2bb5;
$custom-light: #9d6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2bb5",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 268.261,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46015,
    "c": 0.20176,
    "h": 299.7
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#6C2BB5
secondary
#A0C874
accent
#E54399
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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