#6A2AA2#6A2AA2

#6A2AA2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.183 H 304.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6A2AA2
RGBrgb(106, 42, 162)
HSLhsl(272, 59%, 40%)
HSVhsv(272, 74%, 64%)
CMYKcmyk(34.6%, 74.1%, 0%, 36.5%)
CIE-LABlab(32.54, 50.29, -53.16)
CIE-LCHlch(32.54, 73.18, 313.41°)
OKLaboklab(44.1% 0.1022 -0.1514)
OKLCHoklch(44.1% 0.183 304)
XYZxyz(13.2919, 7.3288, 34.8898)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2AA2 #62A22A
analogous
#2E2AA2 #6A2AA2 #A22A9E
triadic
#6A2AA2 #A26A2A #2AA26A
tetradic
#6A2AA2 #A22E2A #62A22A #2A9EA2
square
#6A2AA2 #A22E2A #62A22A #2A9EA2
split-complementary
#6A2AA2 #9EA22A #2AA22E
monochromatic
#2A1141 #4A1D71 #6A2AA2 #893DCD #A76DD9

Accessibility & contrast

On white

8.52
#6A2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6A2AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2AA2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2AA2#FFFFFF#000000##FFFFFF
##6A2AA21.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#5F4764
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a2aa2;
/* rgb */ color: rgb(106, 42, 162);
/* oklch */ color: oklch(44.1% 0.183 304.0);
Tailwind
colors: {
  custom: {
    50: '#9a6abe',
    500: '#6a2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #6a2aa2;
$custom-light: #9a6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2aa2",
  "rgb": {
    "r": 106,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 272,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.44099,
    "c": 0.18264,
    "h": 304
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#6A2AA2
secondary
#91C068
accent
#E2468F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6A2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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