#6A2170#6A2170

#6A2170 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.144 H 324.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#6A2170
RGBrgb(106, 33, 112)
HSLhsl(295, 54%, 28%)
HSVhsv(295, 71%, 44%)
CMYKcmyk(5.4%, 70.5%, 0%, 56.1%)
CIE-LABlab(27.63, 43.25, -29.99)
CIE-LCHlch(27.63, 52.63, 325.26°)
OKLaboklab(39.48% 0.1175 -0.0834)
OKLCHoklch(39.48% 0.144 324.6)
XYZxyz(9.4121, 5.3223, 15.8576)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2170 #277021
analogous
#422170 #6A2170 #70214E
triadic
#6A2170 #706A21 #21706A
tetradic
#6A2170 #704221 #277021 #214E70
square
#6A2170 #704221 #277021 #214E70
split-complementary
#6A2170 #4E7021 #217042
monochromatic
#160718 #3D1341 #6A2170 #972F9F #BE44C8

Accessibility & contrast

On white

10.17
#6A2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6A2170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2170
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2170#FFFFFF#000000##FFFFFF
##6A21701.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3C72
Deuteranopia (green-blind)
#30446E
Tritanopia (blue-blind)
#6C2D46
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6a2170;
/* rgb */ color: rgb(106, 33, 112);
/* oklch */ color: oklch(39.5% 0.144 324.6);
Tailwind
colors: {
  custom: {
    50: '#976399',
    500: '#6a2170',
    950: '#000000',
  },
}
SCSS
$custom: #6a2170;
$custom-light: #976399;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2170",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 295.443,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39482,
    "c": 0.14409,
    "h": 324.6
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#6A2170
secondary
#50A449
accent
#DE4A55
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6A2170

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

Preview Lab → · Contrast checker → · Palette generator →

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