#6B2AB1#6B2AB1

#6B2AB1 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.198 H 300.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6B2AB1
RGBrgb(107, 42, 177)
HSLhsl(269, 62%, 43%)
HSVhsv(269, 76%, 69%)
CMYKcmyk(39.5%, 76.3%, 0%, 30.6%)
CIE-LABlab(33.89, 54.10, -59.96)
CIE-LCHlch(33.89, 80.76, 312.06°)
OKLaboklab(45.46% 0.1003 -0.1713)
OKLCHoklch(45.46% 0.198 300.3)
XYZxyz(14.8252, 7.9559, 42.3410)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2AB1 #70B12A
analogous
#2A2CB1 #6B2AB1 #AE2AB1
triadic
#6B2AB1 #B16B2A #2AB16B
tetradic
#6B2AB1 #B12A2C #70B12A #2AB1AE
square
#6B2AB1 #B12A2C #70B12A #2AB1AE
split-complementary
#6B2AB1 #B1AE2A #2CB12A
monochromatic
#2F134E #4D1E80 #6B2AB1 #8945D3 #A977DF

Accessibility & contrast

On white

8.10
#6B2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6B2AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2AB1
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2AB1#FFFFFF#000000##FFFFFF
##6B2AB11.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#5B4D6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b2ab1;
/* rgb */ color: rgb(107, 42, 177);
/* oklch */ color: oklch(45.5% 0.198 300.3);
Tailwind
colors: {
  custom: {
    50: '#9c6bc9',
    500: '#6b2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ab1;
$custom-light: #9c6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ab1",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 268.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45455,
    "c": 0.19849,
    "h": 300.3
  },
  "luminance": 0.07956
}

Semantic roles & 50–950 ramp

primary
#6B2AB1
secondary
#9DC670
accent
#E54397
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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