#6B2CAC#6B2CAC

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

Color values

HEX#6B2CAC
RGBrgb(107, 44, 172)
HSLhsl(270, 59%, 42%)
HSVhsv(270, 74%, 67%)
CMYKcmyk(37.8%, 74.4%, 0%, 32.5%)
CIE-LABlab(33.79, 52.01, -57.15)
CIE-LCHlch(33.79, 77.27, 312.30°)
OKLaboklab(45.25% 0.0996 -0.163)
OKLCHoklch(45.25% 0.191 301.4)
XYZxyz(14.4087, 7.9056, 39.7886)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CAC #6DAC2C
analogous
#2C2DAC #6B2CAC #AB2CAC
triadic
#6B2CAC #AC6B2C #2CAC6B
tetradic
#6B2CAC #AC2C2D #6DAC2C #2CACAB
square
#6B2CAC #AC2C2D #6DAC2C #2CACAB
split-complementary
#6B2CAC #ACAB2C #2DAC2C
monochromatic
#2E134B #4D207B #6B2CAC #8A46D0 #A876DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B2CAC#FFFFFF#000000##FFFFFF
##6B2CAC1.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)
#004FB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#5D4C6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b2cac;
/* rgb */ color: rgb(107, 44, 172);
/* oklch */ color: oklch(45.3% 0.191 301.4);
Tailwind
colors: {
  custom: {
    50: '#9b6bc6',
    500: '#6b2cac',
    950: '#000000',
  },
}
SCSS
$custom: #6b2cac;
$custom-light: #9b6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2cac",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 269.531,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45253,
    "c": 0.19108,
    "h": 301.4
  },
  "luminance": 0.07906
}

Semantic roles & 50–950 ramp

primary
#6B2CAC
secondary
#9BC470
accent
#E24595
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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