#6A2AA1#6A2AA1

#6A2AA1 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.182 H 304.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#6A2AA1
RGBrgb(106, 42, 161)
HSLhsl(272, 59%, 40%)
HSVhsv(272, 74%, 63%)
CMYKcmyk(34.2%, 73.9%, 0%, 36.9%)
CIE-LABlab(32.47, 50.05, -52.69)
CIE-LCHlch(32.47, 72.67, 313.53°)
OKLaboklab(44.02% 0.1024 -0.1499)
OKLCHoklch(44.02% 0.182 304.3)
XYZxyz(13.2034, 7.2934, 34.4235)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2AA1 #61A12A
analogous
#2E2AA1 #6A2AA1 #A12A9D
triadic
#6A2AA1 #A16A2A #2AA16A
tetradic
#6A2AA1 #A12E2A #61A12A #2A9DA1
square
#6A2AA1 #A12E2A #61A12A #2A9DA1
split-complementary
#6A2AA1 #9DA12A #2AA12E
monochromatic
#2A1140 #4A1D70 #6A2AA1 #8A3CCC #A76DD9

Accessibility & contrast

On white

8.54
#6A2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6A2AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2AA1
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2AA1#FFFFFF#000000##FFFFFF
##6A2AA11.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#5F4763
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a2aa1;
/* rgb */ color: rgb(106, 42, 161);
/* oklch */ color: oklch(44.0% 0.182 304.3);
Tailwind
colors: {
  custom: {
    50: '#9a6abe',
    500: '#6a2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #6a2aa1;
$custom-light: #9a6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2aa1",
  "rgb": {
    "r": 106,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 272.269,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44019,
    "c": 0.18158,
    "h": 304.3
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#6A2AA1
secondary
#90C067
accent
#E2468E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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