#6A2DA2#6A2DA2

#6A2DA2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.179 H 303.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6A2DA2
RGBrgb(106, 45, 162)
HSLhsl(271, 57%, 41%)
HSVhsv(271, 72%, 64%)
CMYKcmyk(34.6%, 72.2%, 0%, 36.5%)
CIE-LABlab(33.03, 48.92, -52.38)
CIE-LCHlch(33.03, 71.67, 313.05°)
OKLaboklab(44.44% 0.0992 -0.1491)
OKLCHoklch(44.44% 0.179 303.6)
XYZxyz(13.4023, 7.5496, 34.9266)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2DA2 #65A22D
analogous
#2F2DA2 #6A2DA2 #A22D9F
triadic
#6A2DA2 #A26A2D #2DA26A
tetradic
#6A2DA2 #A22F2D #65A22D #2D9FA2
square
#6A2DA2 #A22F2D #65A22D #2D9FA2
split-complementary
#6A2DA2 #9FA22D #2DA22F
monochromatic
#2B1242 #4B2072 #6A2DA2 #8942CA #A772D8

Accessibility & contrast

On white

8.37
#6A2DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6A2DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2DA2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2DA2#FFFFFF#000000##FFFFFF
##6A2DA21.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#5F4964
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a2da2;
/* rgb */ color: rgb(106, 45, 162);
/* oklch */ color: oklch(44.4% 0.179 303.6);
Tailwind
colors: {
  custom: {
    50: '#9a6bbe',
    500: '#6a2da2',
    950: '#000000',
  },
}
SCSS
$custom: #6a2da2;
$custom-light: #9a6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2da2",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 271.282,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44441,
    "c": 0.17906,
    "h": 303.6
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

primary
#6A2DA2
secondary
#94BF6C
accent
#E04891
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A2DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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