#6B2AAB#6B2AAB

#6B2AAB is a dark, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.192 H 301.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6B2AAB
RGBrgb(107, 42, 171)
HSLhsl(270, 61%, 42%)
HSVhsv(270, 75%, 67%)
CMYKcmyk(37.4%, 75.4%, 0%, 32.9%)
CIE-LABlab(33.40, 52.64, -57.18)
CIE-LCHlch(33.40, 77.73, 312.63°)
OKLaboklab(44.95% 0.1017 -0.1631)
OKLCHoklch(44.95% 0.192 301.9)
XYZxyz(14.2403, 7.7219, 39.2604)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2AAB #6AAB2A
analogous
#2B2AAB #6B2AAB #AB2AAA
triadic
#6B2AAB #AB6B2A #2AAB6B
tetradic
#6B2AAB #AB2B2A #6AAB2A #2AAAAB
square
#6B2AAB #AB2B2A #6AAB2A #2AAAAB
split-complementary
#6B2AAB #AAAB2A #2AAB2B
monochromatic
#2E1249 #4C1E7A #6B2AAB #8A42D1 #A873DD

Accessibility & contrast

On white

8.25
#6B2AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6B2AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2AAB
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2AAB#FFFFFF#000000##FFFFFF
##6B2AAB1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#5D4B69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b2aab;
/* rgb */ color: rgb(107, 42, 171);
/* oklch */ color: oklch(45.0% 0.192 301.9);
Tailwind
colors: {
  custom: {
    50: '#9b6ac5',
    500: '#6b2aab',
    950: '#000000',
  },
}
SCSS
$custom: #6b2aab;
$custom-light: #9b6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2aab",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 270.233,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44954,
    "c": 0.19225,
    "h": 301.9
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#6B2AAB
secondary
#98C46D
accent
#E44493
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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