#6B2AB2#6B2AB2

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

Color values

HEX#6B2AB2
RGBrgb(107, 42, 178)
HSLhsl(269, 62%, 43%)
HSVhsv(269, 76%, 70%)
CMYKcmyk(39.9%, 76.4%, 0%, 30.2%)
CIE-LABlab(33.97, 54.34, -60.42)
CIE-LCHlch(33.97, 81.27, 311.97°)
OKLaboklab(45.54% 0.1 -0.1726)
OKLCHoklch(45.54% 0.2 300.1)
XYZxyz(14.9252, 7.9959, 42.8679)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2AB2 #71B22A
analogous
#2A2DB2 #6B2AB2 #AF2AB2
triadic
#6B2AB2 #B26B2A #2AB26B
tetradic
#6B2AB2 #B22A2D #71B22A #2AB2AF
square
#6B2AB2 #B22A2D #71B22A #2AB2AF
split-complementary
#6B2AB2 #B2AF2A #2DB22A
monochromatic
#2F134F #4D1E80 #6B2AB2 #8946D3 #A977DF

Accessibility & contrast

On white

8.08
#6B2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6B2AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2AB2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2AB2#FFFFFF#000000##FFFFFF
##6B2AB21.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#5A4E6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b2ab2;
/* rgb */ color: rgb(107, 42, 178);
/* oklch */ color: oklch(45.5% 0.200 300.1);
Tailwind
colors: {
  custom: {
    50: '#9c6bca',
    500: '#6b2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ab2;
$custom-light: #9c6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ab2",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 268.676,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45539,
    "c": 0.19953,
    "h": 300.1
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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