#6C2AB8#6C2AB8

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

Color values

HEX#6C2AB8
RGBrgb(108, 42, 184)
HSLhsl(268, 63%, 44%)
HSVhsv(268, 77%, 72%)
CMYKcmyk(41.3%, 77.2%, 0%, 27.8%)
CIE-LABlab(34.61, 55.98, -62.94)
CIE-LCHlch(34.61, 84.23, 311.65°)
OKLaboklab(46.17% 0.0999 -0.18)
OKLCHoklch(46.17% 0.206 299)
XYZxyz(15.6618, 8.3045, 46.1159)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2AB8 #76B82A
analogous
#2A2FB8 #6C2AB8 #B32AB8
triadic
#6C2AB8 #B86C2A #2AB86C
tetradic
#6C2AB8 #B82A2F #76B82A #2AB8B3
square
#6C2AB8 #B82A2F #76B82A #2AB8B3
split-complementary
#6C2AB8 #B8B32A #2FB82A
monochromatic
#321354 #4F1F86 #6C2AB8 #8B4AD6 #AB7BE1

Accessibility & contrast

On white

7.89
#6C2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6C2AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2AB8
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2AB8#FFFFFF#000000##FFFFFF
##6C2AB81.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#595070
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c2ab8;
/* rgb */ color: rgb(108, 42, 184);
/* oklch */ color: oklch(46.2% 0.206 299.0);
Tailwind
colors: {
  custom: {
    50: '#9d6bce',
    500: '#6c2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ab8;
$custom-light: #9d6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ab8",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 267.887,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46168,
    "c": 0.20588,
    "h": 299
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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