#6A1071#6A1071

#6A1071 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.1% C 0.164 H 324.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#6A1071
RGBrgb(106, 16, 113)
HSLhsl(296, 75%, 25%)
HSVhsv(296, 86%, 44%)
CMYKcmyk(6.2%, 85.8%, 0%, 55.7%)
CIE-LABlab(25.65, 49.31, -33.81)
CIE-LCHlch(25.65, 59.79, 325.56°)
OKLaboklab(38.09% 0.1337 -0.0944)
OKLCHoklch(38.09% 0.164 324.8)
XYZxyz(9.1096, 4.6276, 16.0330)
Luminance0.0463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1071 #177110
analogous
#391071 #6A1071 #711047
triadic
#6A1071 #716A10 #10716A
tetradic
#6A1071 #713910 #177110 #104771
square
#6A1071 #713910 #177110 #104771
split-complementary
#6A1071 #477110 #107139
monochromatic
#19041B #38083B #6A1071 #9C18A7 #CF1FDC

Accessibility & contrast

On white

10.91
#6A1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6A1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1071
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1071#FFFFFF#000000##FFFFFF
##6A10711.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#26406F
Tritanopia (blue-blind)
#6C2442
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a1071;
/* rgb */ color: rgb(106, 16, 113);
/* oklch */ color: oklch(38.1% 0.164 324.8);
Tailwind
colors: {
  custom: {
    50: '#985c9a',
    500: '#6a1071',
    950: '#000000',
  },
}
SCSS
$custom: #6a1071;
$custom-light: #985c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1071",
  "rgb": {
    "r": 106,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 295.67,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38086,
    "c": 0.16363,
    "h": 324.8
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#6A1071
secondary
#3DA934
accent
#F23644
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1071

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

Preview Lab → · Contrast checker → · Palette generator →

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