#6A2AAD#6A2AAD

#6A2AAD is a dark, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.194 H 300.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#6A2AAD
RGBrgb(106, 42, 173)
HSLhsl(269, 61%, 42%)
HSVhsv(269, 76%, 68%)
CMYKcmyk(38.7%, 75.7%, 0%, 32.2%)
CIE-LABlab(33.43, 52.95, -58.33)
CIE-LCHlch(33.43, 78.78, 312.23°)
OKLaboklab(45% 0.0998 -0.1665)
OKLCHoklch(45% 0.194 300.9)
XYZxyz(14.3128, 7.7371, 40.2664)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2AAD #6DAD2A
analogous
#2A2CAD #6A2AAD #AC2AAD
triadic
#6A2AAD #AD6A2A #2AAD6A
tetradic
#6A2AAD #AD2A2C #6DAD2A #2AADAC
square
#6A2AAD #AD2A2C #6DAD2A #2AADAC
split-complementary
#6A2AAD #ADAC2A #2CAD2A
monochromatic
#2E124B #4C1E7C #6A2AAD #8843D1 #A774DD

Accessibility & contrast

On white

8.24
#6A2AAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6A2AAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2AAD
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2AAD#FFFFFF#000000##FFFFFF
##6A2AAD1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a2aad;
/* rgb */ color: rgb(106, 42, 173);
/* oklch */ color: oklch(45.0% 0.194 300.9);
Tailwind
colors: {
  custom: {
    50: '#9b6ac6',
    500: '#6a2aad',
    950: '#000000',
  },
}
SCSS
$custom: #6a2aad;
$custom-light: #9b6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2aad",
  "rgb": {
    "r": 106,
    "g": 42,
    "b": 173
  },
  "hsl": {
    "h": 269.313,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44999,
    "c": 0.19416,
    "h": 300.9
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A2AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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