#6B1AA1#6B1AA1

#6B1AA1 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.7% C 0.198 H 306.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6B1AA1
RGBrgb(107, 26, 161)
HSLhsl(276, 72%, 37%)
HSVhsv(276, 84%, 63%)
CMYKcmyk(33.5%, 83.9%, 0%, 36.9%)
CIE-LABlab(30.49, 56.32, -55.90)
CIE-LCHlch(30.49, 79.35, 315.22°)
OKLaboklab(42.67% 0.1173 -0.1592)
OKLCHoklch(42.67% 0.198 306.4)
XYZxyz(12.8644, 6.4379, 34.2762)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1AA1 #50A11A
analogous
#271AA1 #6B1AA1 #A11A94
triadic
#6B1AA1 #A16B1A #1AA16B
tetradic
#6B1AA1 #A1271A #50A11A #1A94A1
square
#6B1AA1 #A1271A #50A11A #1A94A1
split-complementary
#6B1AA1 #94A11A #1AA127
monochromatic
#250938 #48116C #6B1AA1 #8E23D6 #A952E3

Accessibility & contrast

On white

9.18
#6B1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6B1AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1AA1
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1AA1#FFFFFF#000000##FFFFFF
##6B1AA11.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#614060
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b1aa1;
/* rgb */ color: rgb(107, 26, 161);
/* oklch */ color: oklch(42.7% 0.198 306.4);
Tailwind
colors: {
  custom: {
    50: '#9b63be',
    500: '#6b1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #6b1aa1;
$custom-light: #9b63be;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1aa1",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 276,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42666,
    "c": 0.19778,
    "h": 306.4
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#6B1AA1
secondary
#80C651
accent
#EF3982
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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