#6A1673#6A1673

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

Color values

HEX#6A1673
RGBrgb(106, 22, 115)
HSLhsl(294, 68%, 27%)
HSVhsv(294, 81%, 45%)
CMYKcmyk(7.8%, 80.9%, 0%, 54.9%)
CIE-LABlab(26.38, 47.94, -33.92)
CIE-LCHlch(26.38, 58.72, 324.72°)
OKLaboklab(38.65% 0.1287 -0.0947)
OKLCHoklch(38.65% 0.16 323.6)
XYZxyz(9.3250, 4.8764, 16.6664)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1673 #1F7316
analogous
#3C1673 #6A1673 #73164E
triadic
#6A1673 #736A16 #16736A
tetradic
#6A1673 #733C16 #1F7316 #164E73
square
#6A1673 #733C16 #1F7316 #164E73
split-complementary
#6A1673 #4E7316 #16733C
monochromatic
#18051A #3B0C40 #6A1673 #9920A6 #C62DD7

Accessibility & contrast

On white

10.63
#6A1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1673
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1673#FFFFFF#000000##FFFFFF
##6A16731.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1673;
/* rgb */ color: rgb(106, 22, 115);
/* oklch */ color: oklch(38.6% 0.160 323.6);
Tailwind
colors: {
  custom: {
    50: '#985f9c',
    500: '#6a1673',
    950: '#000000',
  },
}
SCSS
$custom: #6a1673;
$custom-light: #985f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1673",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 294.194,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38648,
    "c": 0.15981,
    "h": 323.6
  },
  "luminance": 0.04876
}

Semantic roles & 50–950 ramp

primary
#6A1673
secondary
#47A93C
accent
#EB3D4E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1673

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

Preview Lab → · Contrast checker → · Palette generator →

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