#6B1AA0#6B1AA0

#6B1AA0 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.6% C 0.197 H 306.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#6B1AA0
RGBrgb(107, 26, 160)
HSLhsl(276, 72%, 36%)
HSVhsv(276, 84%, 63%)
CMYKcmyk(33.1%, 83.8%, 0%, 37.3%)
CIE-LABlab(30.41, 56.10, -55.43)
CIE-LCHlch(30.41, 78.86, 315.35°)
OKLaboklab(42.58% 0.1176 -0.1579)
OKLCHoklch(42.58% 0.197 306.7)
XYZxyz(12.7766, 6.4028, 33.8137)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1AA0 #4FA01A
analogous
#281AA0 #6B1AA0 #A01A92
triadic
#6B1AA0 #A06B1A #1AA06B
tetradic
#6B1AA0 #A0281A #4FA01A #1A92A0
square
#6B1AA0 #A0281A #4FA01A #1A92A0
split-complementary
#6B1AA0 #92A01A #1AA028
monochromatic
#250937 #48116B #6B1AA0 #8E23D5 #A952E3

Accessibility & contrast

On white

9.21
#6B1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6B1AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1AA0
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1AA0#FFFFFF#000000##FFFFFF
##6B1AA01.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#623F5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b1aa0;
/* rgb */ color: rgb(107, 26, 160);
/* oklch */ color: oklch(42.6% 0.197 306.7);
Tailwind
colors: {
  custom: {
    50: '#9b63bd',
    500: '#6b1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #6b1aa0;
$custom-light: #9b63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1aa0",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 276.269,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42581,
    "c": 0.19686,
    "h": 306.7
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#6B1AA0
secondary
#7FC550
accent
#EF3981
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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