#6B2AA9#6B2AA9

#6B2AA9 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.190 H 302.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6B2AA9
RGBrgb(107, 42, 169)
HSLhsl(271, 60%, 41%)
HSVhsv(271, 75%, 66%)
CMYKcmyk(36.7%, 75.1%, 0%, 33.7%)
CIE-LABlab(33.24, 52.16, -56.25)
CIE-LCHlch(33.24, 76.71, 312.84°)
OKLaboklab(44.79% 0.1022 -0.1604)
OKLCHoklch(44.79% 0.19 302.5)
XYZxyz(14.0511, 7.6463, 38.2640)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2AA9 #68A92A
analogous
#2C2AA9 #6B2AA9 #A92AA8
triadic
#6B2AA9 #A96B2A #2AA96B
tetradic
#6B2AA9 #A92C2A #68A92A #2AA8A9
square
#6B2AA9 #A92C2A #68A92A #2AA8A9
split-complementary
#6B2AA9 #A8A92A #2AA92C
monochromatic
#2D1247 #4C1E78 #6B2AA9 #8A41D0 #A872DC

Accessibility & contrast

On white

8.30
#6B2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6B2AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2AA9
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2AA9#FFFFFF#000000##FFFFFF
##6B2AA91.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#5E4A68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b2aa9;
/* rgb */ color: rgb(107, 42, 169);
/* oklch */ color: oklch(44.8% 0.190 302.5);
Tailwind
colors: {
  custom: {
    50: '#9b6ac3',
    500: '#6b2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #6b2aa9;
$custom-light: #9b6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2aa9",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 270.709,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.19016,
    "h": 302.5
  },
  "luminance": 0.07646
}

Semantic roles & 50–950 ramp

primary
#6B2AA9
secondary
#96C36C
accent
#E34492
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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