#6C2BAC#6C2BAC

#6C2BAC is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.192 H 302.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6C2BAC
RGBrgb(108, 43, 172)
HSLhsl(270, 60%, 42%)
HSVhsv(270, 75%, 67%)
CMYKcmyk(37.2%, 75%, 0%, 32.5%)
CIE-LABlab(33.76, 52.63, -57.18)
CIE-LCHlch(33.76, 77.72, 312.63°)
OKLaboklab(45.27% 0.102 -0.1631)
OKLCHoklch(45.27% 0.192 302)
XYZxyz(14.4928, 7.8944, 39.7820)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2BAC #6BAC2B
analogous
#2C2BAC #6C2BAC #AC2BAB
triadic
#6C2BAC #AC6C2B #2BAC6C
tetradic
#6C2BAC #AC2C2B #6BAC2B #2BABAC
square
#6C2BAC #AC2C2B #6BAC2B #2BABAC
split-complementary
#6C2BAC #ABAC2B #2BAC2C
monochromatic
#2F134A #4D1F7B #6C2BAC #8B44D0 #A975DC

Accessibility & contrast

On white

8.14
#6C2BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6C2BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2BAC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2BAC#FFFFFF#000000##FFFFFF
##6C2BAC1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#5E4C6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6c2bac;
/* rgb */ color: rgb(108, 43, 172);
/* oklch */ color: oklch(45.3% 0.192 302.0);
Tailwind
colors: {
  custom: {
    50: '#9c6bc6',
    500: '#6c2bac',
    950: '#000000',
  },
}
SCSS
$custom: #6c2bac;
$custom-light: #9c6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2bac",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 270.233,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45265,
    "c": 0.19237,
    "h": 302
  },
  "luminance": 0.07894
}

Semantic roles & 50–950 ramp

primary
#6C2BAC
secondary
#99C46F
accent
#E34593
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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