#6A2AAC#6A2AAC

#6A2AAC is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.193 H 301.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#6A2AAC
RGBrgb(106, 42, 172)
HSLhsl(270, 61%, 42%)
HSVhsv(270, 76%, 67%)
CMYKcmyk(38.4%, 75.6%, 0%, 32.5%)
CIE-LABlab(33.35, 52.71, -57.87)
CIE-LCHlch(33.35, 78.28, 312.33°)
OKLaboklab(44.92% 0.1 -0.1652)
OKLCHoklch(44.92% 0.193 301.2)
XYZxyz(14.2164, 7.6986, 39.7587)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2AAC #6CAC2A
analogous
#2A2BAC #6A2AAC #AB2AAC
triadic
#6A2AAC #AC6A2A #2AAC6A
tetradic
#6A2AAC #AC2A2B #6CAC2A #2AACAB
square
#6A2AAC #AC2A2B #6CAC2A #2AACAB
split-complementary
#6A2AAC #ACAB2A #2BAC2A
monochromatic
#2D124A #4C1E7B #6A2AAC #8942D1 #A773DD

Accessibility & contrast

On white

8.27
#6A2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6A2AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2AAC
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2AAC#FFFFFF#000000##FFFFFF
##6A2AAC1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#5B4B69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a2aac;
/* rgb */ color: rgb(106, 42, 172);
/* oklch */ color: oklch(44.9% 0.193 301.2);
Tailwind
colors: {
  custom: {
    50: '#9b6ac6',
    500: '#6a2aac',
    950: '#000000',
  },
}
SCSS
$custom: #6a2aac;
$custom-light: #9b6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2aac",
  "rgb": {
    "r": 106,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 269.538,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44916,
    "c": 0.19312,
    "h": 301.2
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#6A2AAC
secondary
#9AC46D
accent
#E44495
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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