#6A1672#6A1672

#6A1672 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.159 H 324.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#6A1672
RGBrgb(106, 22, 114)
HSLhsl(295, 68%, 27%)
HSVhsv(295, 81%, 45%)
CMYKcmyk(7%, 80.7%, 0%, 55.3%)
CIE-LABlab(26.31, 47.75, -33.38)
CIE-LCHlch(26.31, 58.26, 325.04°)
OKLaboklab(38.58% 0.1288 -0.0932)
OKLCHoklch(38.58% 0.159 324.1)
XYZxyz(9.2678, 4.8535, 16.3650)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1672 #1E7216
analogous
#3C1672 #6A1672 #72164C
triadic
#6A1672 #726A16 #16726A
tetradic
#6A1672 #723C16 #1E7216 #164C72
square
#6A1672 #723C16 #1E7216 #164C72
split-complementary
#6A1672 #4C7216 #16723C
monochromatic
#18051A #3A0C3F #6A1672 #9A20A5 #C82CD6

Accessibility & contrast

On white

10.66
#6A1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6A1672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1672
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1672#FFFFFF#000000##FFFFFF
##6A16721.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#284270
Tritanopia (blue-blind)
#6C2844
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a1672;
/* rgb */ color: rgb(106, 22, 114);
/* oklch */ color: oklch(38.6% 0.159 324.1);
Tailwind
colors: {
  custom: {
    50: '#985e9b',
    500: '#6a1672',
    950: '#000000',
  },
}
SCSS
$custom: #6a1672;
$custom-light: #985e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1672",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 294.783,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3858,
    "c": 0.15896,
    "h": 324.1
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#6A1672
secondary
#45A83C
accent
#EB3D4C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1672

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

Preview Lab → · Contrast checker → · Palette generator →

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