#6A2AA3#6A2AA3

#6A2AA3 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.184 H 303.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6A2AA3
RGBrgb(106, 42, 163)
HSLhsl(272, 59%, 40%)
HSVhsv(272, 74%, 64%)
CMYKcmyk(35%, 74.2%, 0%, 36.1%)
CIE-LABlab(32.62, 50.53, -53.64)
CIE-LCHlch(32.62, 73.69, 313.29°)
OKLaboklab(44.18% 0.102 -0.1528)
OKLCHoklch(44.18% 0.184 303.7)
XYZxyz(13.3812, 7.3645, 35.3598)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2AA3 #63A32A
analogous
#2E2AA3 #6A2AA3 #A32A9F
triadic
#6A2AA3 #A36A2A #2AA36A
tetradic
#6A2AA3 #A32E2A #63A32A #2A9FA3
square
#6A2AA3 #A32E2A #63A32A #2A9FA3
split-complementary
#6A2AA3 #9FA32A #2AA32E
monochromatic
#2B1142 #4A1D72 #6A2AA3 #893DCD #A76EDA

Accessibility & contrast

On white

8.49
#6A2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2AA3
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2AA3#FFFFFF#000000##FFFFFF
##6A2AA31.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#5F4864
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a2aa3;
/* rgb */ color: rgb(106, 42, 163);
/* oklch */ color: oklch(44.2% 0.184 303.7);
Tailwind
colors: {
  custom: {
    50: '#9a6abf',
    500: '#6a2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #6a2aa3;
$custom-light: #9a6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2aa3",
  "rgb": {
    "r": 106,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 271.736,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44179,
    "c": 0.18369,
    "h": 303.7
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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