#6A1971#6A1971

#6A1971 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.155 H 324.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#6A1971
RGBrgb(106, 25, 113)
HSLhsl(295, 64%, 27%)
HSVhsv(295, 78%, 44%)
CMYKcmyk(6.2%, 77.9%, 0%, 55.7%)
CIE-LABlab(26.60, 46.55, -32.29)
CIE-LCHlch(26.60, 56.65, 325.26°)
OKLaboklab(38.76% 0.1261 -0.09)
OKLCHoklch(38.76% 0.155 324.5)
XYZxyz(9.2719, 4.9523, 16.0871)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1971 #207119
analogous
#3E1971 #6A1971 #71194C
triadic
#6A1971 #716A19 #19716A
tetradic
#6A1971 #713E19 #207119 #194C71
square
#6A1971 #713E19 #207119 #194C71
split-complementary
#6A1971 #4C7119 #19713E
monochromatic
#180619 #3B0E3F #6A1971 #9924A3 #C533D2

Accessibility & contrast

On white

10.55
#6A1971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6A1971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1971
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1971#FFFFFF#000000##FFFFFF
##6A19711.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#2B426F
Tritanopia (blue-blind)
#6C2944
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a1971;
/* rgb */ color: rgb(106, 25, 113);
/* oklch */ color: oklch(38.8% 0.155 324.5);
Tailwind
colors: {
  custom: {
    50: '#98609a',
    500: '#6a1971',
    950: '#000000',
  },
}
SCSS
$custom: #6a1971;
$custom-light: #98609a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1971",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 295.227,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.15491,
    "h": 324.5
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#6A1971
secondary
#48A640
accent
#E7414E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1971

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

Preview Lab → · Contrast checker → · Palette generator →

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