#6A1AAA#6A1AAA

#6A1AAA is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.3% C 0.206 H 303.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6A1AAA
RGBrgb(106, 26, 170)
HSLhsl(273, 73%, 38%)
HSVhsv(273, 85%, 67%)
CMYKcmyk(37.6%, 84.7%, 0%, 33.3%)
CIE-LABlab(31.13, 58.18, -60.30)
CIE-LCHlch(31.13, 83.79, 313.97°)
OKLaboklab(43.32% 0.113 -0.1722)
OKLCHoklch(43.32% 0.206 303.3)
XYZxyz(13.5672, 6.7052, 38.6019)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1AAA #5AAA1A
analogous
#221AAA #6A1AAA #AA1AA2
triadic
#6A1AAA #AA6A1A #1AAA6A
tetradic
#6A1AAA #AA221A #5AAA1A #1AA2AA
square
#6A1AAA #AA221A #5AAA1A #1AA2AA
split-complementary
#6A1AAA #A2AA1A #1AAA22
monochromatic
#280A40 #491275 #6A1AAA #8B24DD #A759E6

Accessibility & contrast

On white

8.97
#6A1AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6A1AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1AAA
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1AAA#FFFFFF#000000##FFFFFF
##6A1AAA1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#5D4465
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a1aaa;
/* rgb */ color: rgb(106, 26, 170);
/* oklch */ color: oklch(43.3% 0.206 303.3);
Tailwind
colors: {
  custom: {
    50: '#9b63c4',
    500: '#6a1aaa',
    950: '#000000',
  },
}
SCSS
$custom: #6a1aaa;
$custom-light: #9b63c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1aaa",
  "rgb": {
    "r": 106,
    "g": 26,
    "b": 170
  },
  "hsl": {
    "h": 273.333,
    "s": 73.469,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43315,
    "c": 0.20596,
    "h": 303.3
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#6A1AAA
secondary
#8AC957
accent
#F0388A
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A1AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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