#6A2173#6A2173

#6A2173 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.7% C 0.147 H 323.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#6A2173
RGBrgb(106, 33, 115)
HSLhsl(293, 55%, 29%)
HSVhsv(293, 71%, 45%)
CMYKcmyk(7.8%, 71.3%, 0%, 54.9%)
CIE-LABlab(27.82, 43.83, -31.62)
CIE-LCHlch(27.82, 54.05, 324.20°)
OKLaboklab(39.67% 0.1175 -0.0881)
OKLCHoklch(39.67% 0.147 323.1)
XYZxyz(9.5819, 5.3902, 16.7520)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2173 #2A7321
analogous
#412173 #6A2173 #732153
triadic
#6A2173 #736A21 #21736A
tetradic
#6A2173 #734121 #2A7321 #215373
square
#6A2173 #734121 #2A7321 #215373
split-complementary
#6A2173 #537321 #217341
monochromatic
#160718 #3E1343 #6A2173 #962FA3 #BB45CA

Accessibility & contrast

On white

10.11
#6A2173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6A2173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2173
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2173#FFFFFF#000000##FFFFFF
##6A21731.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093C75
Deuteranopia (green-blind)
#2E4571
Tritanopia (blue-blind)
#6C2F47
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a2173;
/* rgb */ color: rgb(106, 33, 115);
/* oklch */ color: oklch(39.7% 0.147 323.1);
Tailwind
colors: {
  custom: {
    50: '#97639c',
    500: '#6a2173',
    950: '#000000',
  },
}
SCSS
$custom: #6a2173;
$custom-light: #97639c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2173",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 293.415,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39675,
    "c": 0.14686,
    "h": 323.1
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#6A2173
secondary
#54A649
accent
#DF4959
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6A2173

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

Preview Lab → · Contrast checker → · Palette generator →

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