#6A2972#6A2972

#6A2972 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.6% C 0.134 H 323.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#6A2972
RGBrgb(106, 41, 114)
HSLhsl(293, 47%, 30%)
HSVhsv(293, 64%, 45%)
CMYKcmyk(7%, 64%, 0%, 55.3%)
CIE-LABlab(29.07, 39.98, -28.99)
CIE-LCHlch(29.07, 49.39, 324.05°)
OKLaboklab(40.56% 0.1075 -0.0805)
OKLCHoklch(40.56% 0.134 323.2)
XYZxyz(9.7738, 5.8655, 16.5337)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2972 #317229
analogous
#462972 #6A2972 #722955
triadic
#6A2972 #726A29 #29726A
tetradic
#6A2972 #724629 #317229 #295572
square
#6A2972 #724629 #317229 #295572
split-complementary
#6A2972 #557229 #297246
monochromatic
#160918 #401945 #6A2972 #94399F #B554C1

Accessibility & contrast

On white

9.66
#6A2972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6A2972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2972
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2972#FFFFFF#000000##FFFFFF
##6A29721.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4074
Deuteranopia (green-blind)
#334770
Tritanopia (blue-blind)
#6C3449
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a2972;
/* rgb */ color: rgb(106, 41, 114);
/* oklch */ color: oklch(40.6% 0.134 323.2);
Tailwind
colors: {
  custom: {
    50: '#97679b',
    500: '#6a2972',
    950: '#000000',
  },
}
SCSS
$custom: #6a2972;
$custom-light: #97679b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2972",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 293.425,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40559,
    "c": 0.13431,
    "h": 323.2
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#6A2972
secondary
#5CA453
accent
#D75160
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6A2972

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

Preview Lab → · Contrast checker → · Palette generator →

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