#6A2AAE#6A2AAE

#6A2AAE is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.195 H 300.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#6A2AAE
RGBrgb(106, 42, 174)
HSLhsl(269, 61%, 42%)
HSVhsv(269, 76%, 68%)
CMYKcmyk(39.1%, 75.9%, 0%, 31.8%)
CIE-LABlab(33.51, 53.20, -58.80)
CIE-LCHlch(33.51, 79.29, 312.14°)
OKLaboklab(45.08% 0.0996 -0.1679)
OKLCHoklch(45.08% 0.195 300.7)
XYZxyz(14.4099, 7.7760, 40.7779)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2AAE #6EAE2A
analogous
#2A2CAE #6A2AAE #AC2AAE
triadic
#6A2AAE #AE6A2A #2AAE6A
tetradic
#6A2AAE #AE2A2C #6EAE2A #2AAEAC
square
#6A2AAE #AE2A2C #6EAE2A #2AAEAC
split-complementary
#6A2AAE #AEAC2A #2CAE2A
monochromatic
#2E124B #4C1E7D #6A2AAE #8843D2 #A875DE

Accessibility & contrast

On white

8.22
#6A2AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6A2AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2AAE
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2AAE#FFFFFF#000000##FFFFFF
##6A2AAE1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#5B4C6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a2aae;
/* rgb */ color: rgb(106, 42, 174);
/* oklch */ color: oklch(45.1% 0.195 300.7);
Tailwind
colors: {
  custom: {
    50: '#9b6ac7',
    500: '#6a2aae',
    950: '#000000',
  },
}
SCSS
$custom: #6a2aae;
$custom-light: #9b6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2aae",
  "rgb": {
    "r": 106,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 269.091,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45083,
    "c": 0.1952,
    "h": 300.7
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#6A2AAE
secondary
#9BC56F
accent
#E44496
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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