#6A1C8F#6A1C8F

#6A1C8F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.179 H 311.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#6A1C8F
RGBrgb(106, 28, 143)
HSLhsl(281, 67%, 34%)
HSVhsv(281, 80%, 56%)
CMYKcmyk(25.9%, 80.4%, 0%, 43.9%)
CIE-LABlab(29.10, 51.56, -47.14)
CIE-LCHlch(29.10, 69.86, 317.57°)
OKLaboklab(41.21% 0.1191 -0.1335)
OKLCHoklch(41.21% 0.179 311.7)
XYZxyz(11.3161, 5.8782, 26.5198)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1C8F #418F1C
analogous
#311C8F #6A1C8F #8F1C7A
triadic
#6A1C8F #8F6A1C #1C8F6A
tetradic
#6A1C8F #8F311C #418F1C #1C7A8F
square
#6A1C8F #8F311C #418F1C #1C7A8F
split-complementary
#6A1C8F #7A8F1C #1C8F31
monochromatic
#1E0829 #44125C #6A1C8F #9026C2 #AD4ADC

Accessibility & contrast

On white

9.65
#6A1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6A1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1C8F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1C8F#FFFFFF#000000##FFFFFF
##6A1C8F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#01468D
Tritanopia (blue-blind)
#653856
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a1c8f;
/* rgb */ color: rgb(106, 28, 143);
/* oklch */ color: oklch(41.2% 0.179 311.7);
Tailwind
colors: {
  custom: {
    50: '#9962b1',
    500: '#6a1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #6a1c8f;
$custom-light: #9962b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1c8f",
  "rgb": {
    "r": 106,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 280.696,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4121,
    "c": 0.17894,
    "h": 311.7
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#6A1C8F
secondary
#6FBE49
accent
#EA3E75
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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