#6A1772#6A1772

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

Color values

HEX#6A1772
RGBrgb(106, 23, 114)
HSLhsl(295, 66%, 27%)
HSVhsv(295, 80%, 45%)
CMYKcmyk(7%, 79.8%, 0%, 55.3%)
CIE-LABlab(26.43, 47.42, -33.20)
CIE-LCHlch(26.43, 57.89, 325.00°)
OKLaboklab(38.66% 0.1279 -0.0926)
OKLCHoklch(38.66% 0.158 324.1)
XYZxyz(9.2873, 4.8925, 16.3715)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1772 #1F7217
analogous
#3D1772 #6A1772 #72174D
triadic
#6A1772 #726A17 #17726A
tetradic
#6A1772 #723D17 #1F7217 #174D72
square
#6A1772 #723D17 #1F7217 #174D72
split-complementary
#6A1772 #4D7217 #17723D
monochromatic
#180519 #3B0D3F #6A1772 #9921A5 #C62ED5

Accessibility & contrast

On white

10.61
#6A1772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6A1772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1772
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1772#FFFFFF#000000##FFFFFF
##6A17721.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1772;
/* rgb */ color: rgb(106, 23, 114);
/* oklch */ color: oklch(38.7% 0.158 324.1);
Tailwind
colors: {
  custom: {
    50: '#985f9b',
    500: '#6a1772',
    950: '#000000',
  },
}
SCSS
$custom: #6a1772;
$custom-light: #985f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1772",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 294.725,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3866,
    "c": 0.15793,
    "h": 324.1
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#6A1772
secondary
#47A83D
accent
#E93E4D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1772

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

Preview Lab → · Contrast checker → · Palette generator →

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