#6A2AA5#6A2AA5

#6A2AA5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.186 H 303.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#6A2AA5
RGBrgb(106, 42, 165)
HSLhsl(271, 59%, 41%)
HSVhsv(271, 75%, 65%)
CMYKcmyk(35.8%, 74.5%, 0%, 35.3%)
CIE-LABlab(32.78, 51.01, -54.59)
CIE-LCHlch(32.78, 74.71, 313.06°)
OKLaboklab(44.34% 0.1016 -0.1555)
OKLCHoklch(44.34% 0.186 303.2)
XYZxyz(13.5618, 7.4367, 36.3110)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2AA5 #65A52A
analogous
#2D2AA5 #6A2AA5 #A52AA2
triadic
#6A2AA5 #A56A2A #2AA56A
tetradic
#6A2AA5 #A52D2A #65A52A #2AA2A5
square
#6A2AA5 #A52D2A #65A52A #2AA2A5
split-complementary
#6A2AA5 #A2A52A #2AA52D
monochromatic
#2B1143 #4B1E74 #6A2AA5 #893ECE #A76FDA

Accessibility & contrast

On white

8.44
#6A2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6A2AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2AA5
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2AA5#FFFFFF#000000##FFFFFF
##6A2AA51.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#5E4965
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a2aa5;
/* rgb */ color: rgb(106, 42, 165);
/* oklch */ color: oklch(44.3% 0.186 303.2);
Tailwind
colors: {
  custom: {
    50: '#9a6ac1',
    500: '#6a2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #6a2aa5;
$custom-light: #9a6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2aa5",
  "rgb": {
    "r": 106,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 271.22,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44341,
    "c": 0.18578,
    "h": 303.2
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#6A2AA5
secondary
#94C169
accent
#E34591
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6A2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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