#6A1C8D#6A1C8D

#6A1C8D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.177 H 312.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#6A1C8D
RGBrgb(106, 28, 141)
HSLhsl(281, 67%, 33%)
HSVhsv(281, 80%, 55%)
CMYKcmyk(24.8%, 80.1%, 0%, 44.7%)
CIE-LABlab(28.95, 51.14, -46.15)
CIE-LCHlch(28.95, 68.88, 317.93°)
OKLaboklab(41.05% 0.1195 -0.1306)
OKLCHoklch(41.05% 0.177 312.5)
XYZxyz(11.1660, 5.8181, 25.7289)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1C8D #3F8D1C
analogous
#311C8D #6A1C8D #8D1C77
triadic
#6A1C8D #8D6A1C #1C8D6A
tetradic
#6A1C8D #8D311C #3F8D1C #1C778D
square
#6A1C8D #8D311C #3F8D1C #1C778D
split-complementary
#6A1C8D #778D1C #1C8D31
monochromatic
#1D0827 #44125A #6A1C8D #9026C0 #AE49DB

Accessibility & contrast

On white

9.71
#6A1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6A1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1C8D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1C8D#FFFFFF#000000##FFFFFF
##6A1C8D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#07468B
Tritanopia (blue-blind)
#663754
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a1c8d;
/* rgb */ color: rgb(106, 28, 141);
/* oklch */ color: oklch(41.1% 0.177 312.5);
Tailwind
colors: {
  custom: {
    50: '#9962af',
    500: '#6a1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #6a1c8d;
$custom-light: #9962af;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1c8d",
  "rgb": {
    "r": 106,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 281.416,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41053,
    "c": 0.17706,
    "h": 312.5
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#6A1C8D
secondary
#6CBD48
accent
#EA3E73
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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