#6B2BAC#6B2BAC

#6B2BAC is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.192 H 301.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#6B2BAC
RGBrgb(107, 43, 172)
HSLhsl(270, 60%, 42%)
HSVhsv(270, 75%, 67%)
CMYKcmyk(37.8%, 75%, 0%, 32.5%)
CIE-LABlab(33.63, 52.45, -57.40)
CIE-LCHlch(33.63, 77.76, 312.42°)
OKLaboklab(45.14% 0.1006 -0.1638)
OKLCHoklch(45.14% 0.192 301.5)
XYZxyz(14.3719, 7.8320, 39.7763)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2BAC #6CAC2B
analogous
#2B2CAC #6B2BAC #AB2BAC
triadic
#6B2BAC #AC6B2B #2BAC6B
tetradic
#6B2BAC #AC2B2C #6CAC2B #2BACAB
square
#6B2BAC #AC2B2C #6CAC2B #2BACAB
split-complementary
#6B2BAC #ACAB2B #2CAC2B
monochromatic
#2E134A #4D1F7B #6B2BAC #8A44D0 #A875DC

Accessibility & contrast

On white

8.18
#6B2BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6B2BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2BAC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2BAC#FFFFFF#000000##FFFFFF
##6B2BAC1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b2bac;
/* rgb */ color: rgb(107, 43, 172);
/* oklch */ color: oklch(45.1% 0.192 301.5);
Tailwind
colors: {
  custom: {
    50: '#9b6bc6',
    500: '#6b2bac',
    950: '#000000',
  },
}
SCSS
$custom: #6b2bac;
$custom-light: #9b6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2bac",
  "rgb": {
    "r": 107,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 269.767,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45144,
    "c": 0.19219,
    "h": 301.5
  },
  "luminance": 0.07832
}

Semantic roles & 50–950 ramp

primary
#6B2BAC
secondary
#9AC46F
accent
#E34595
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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