#6A2AA9#6A2AA9

#6A2AA9 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.190 H 302.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6A2AA9
RGBrgb(106, 42, 169)
HSLhsl(270, 60%, 41%)
HSVhsv(270, 75%, 66%)
CMYKcmyk(37.3%, 75.1%, 0%, 33.7%)
CIE-LABlab(33.10, 51.98, -56.47)
CIE-LCHlch(33.10, 76.75, 312.63°)
OKLaboklab(44.67% 0.1007 -0.1611)
OKLCHoklch(44.67% 0.19 302)
XYZxyz(13.9315, 7.5846, 38.2584)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2AA9 #69A92A
analogous
#2A2AA9 #6A2AA9 #A92AA9
triadic
#6A2AA9 #A96A2A #2AA96A
tetradic
#6A2AA9 #A92A2A #69A92A #2AA9A9
square
#6A2AA9 #A92A2A #69A92A #2AA9A9
split-complementary
#6A2AA9 #A9A92A #2AA92A
monochromatic
#2D1247 #4B1E78 #6A2AA9 #8941D0 #A772DC

Accessibility & contrast

On white

8.34
#6A2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6A2AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2AA9
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2AA9#FFFFFF#000000##FFFFFF
##6A2AA91.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004DA6
Tritanopia (blue-blind)
#5D4A68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a2aa9;
/* rgb */ color: rgb(106, 42, 169);
/* oklch */ color: oklch(44.7% 0.190 302.0);
Tailwind
colors: {
  custom: {
    50: '#9a6ac3',
    500: '#6a2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #6a2aa9;
$custom-light: #9a6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2aa9",
  "rgb": {
    "r": 106,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 270.236,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44667,
    "c": 0.18998,
    "h": 302
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#6A2AA9
secondary
#97C36C
accent
#E34493
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6A2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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