#6A1AA0#6A1AA0

#6A1AA0 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.4% C 0.197 H 306.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#6A1AA0
RGBrgb(106, 26, 160)
HSLhsl(276, 72%, 36%)
HSVhsv(276, 84%, 63%)
CMYKcmyk(33.7%, 83.8%, 0%, 37.3%)
CIE-LABlab(30.26, 55.94, -55.68)
CIE-LCHlch(30.26, 78.93, 315.14°)
OKLaboklab(42.45% 0.1162 -0.1586)
OKLCHoklch(42.45% 0.197 306.2)
XYZxyz(12.6570, 6.3411, 33.8081)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1AA0 #50A01A
analogous
#271AA0 #6A1AA0 #A01A93
triadic
#6A1AA0 #A06A1A #1AA06A
tetradic
#6A1AA0 #A0271A #50A01A #1A93A0
square
#6A1AA0 #A0271A #50A01A #1A93A0
split-complementary
#6A1AA0 #93A01A #1AA027
monochromatic
#240937 #47116B #6A1AA0 #8D23D5 #A852E3

Accessibility & contrast

On white

9.26
#6A1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6A1AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1AA0
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1AA0#FFFFFF#000000##FFFFFF
##6A1AA01.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1aa0;
/* rgb */ color: rgb(106, 26, 160);
/* oklch */ color: oklch(42.4% 0.197 306.2);
Tailwind
colors: {
  custom: {
    50: '#9a63bd',
    500: '#6a1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #6a1aa0;
$custom-light: #9a63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1aa0",
  "rgb": {
    "r": 106,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 275.821,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42446,
    "c": 0.19662,
    "h": 306.2
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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