#6A1C8E#6A1C8E

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

Color values

HEX#6A1C8E
RGBrgb(106, 28, 142)
HSLhsl(281, 67%, 33%)
HSVhsv(281, 80%, 56%)
CMYKcmyk(25.4%, 80.3%, 0%, 44.3%)
CIE-LABlab(29.03, 51.35, -46.64)
CIE-LCHlch(29.03, 69.37, 317.75°)
OKLaboklab(41.13% 0.1193 -0.1321)
OKLCHoklch(41.13% 0.178 312.1)
XYZxyz(11.2407, 5.8480, 26.1226)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1C8E #408E1C
analogous
#311C8E #6A1C8E #8E1C79
triadic
#6A1C8E #8E6A1C #1C8E6A
tetradic
#6A1C8E #8E311C #408E1C #1C798E
square
#6A1C8E #8E311C #408E1C #1C798E
split-complementary
#6A1C8E #798E1C #1C8E31
monochromatic
#1E0828 #44125B #6A1C8E #9026C1 #AD49DB

Accessibility & contrast

On white

9.68
#6A1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6A1C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1C8E
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1C8E#FFFFFF#000000##FFFFFF
##6A1C8E1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#04468C
Tritanopia (blue-blind)
#663855
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a1c8e;
/* rgb */ color: rgb(106, 28, 142);
/* oklch */ color: oklch(41.1% 0.178 312.1);
Tailwind
colors: {
  custom: {
    50: '#9962b0',
    500: '#6a1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #6a1c8e;
$custom-light: #9962b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1c8e",
  "rgb": {
    "r": 106,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 281.053,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41131,
    "c": 0.178,
    "h": 312.1
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#6A1C8E
secondary
#6DBD49
accent
#EA3E74
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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