#6A1579#6A1579

#6A1579 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.166 H 321.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#6A1579
RGBrgb(106, 21, 121)
HSLhsl(291, 70%, 28%)
HSVhsv(291, 83%, 47%)
CMYKcmyk(12.4%, 82.6%, 0%, 52.5%)
CIE-LABlab(26.68, 49.39, -37.26)
CIE-LCHlch(26.68, 61.86, 322.97°)
OKLaboklab(38.99% 0.1289 -0.1045)
OKLCHoklch(38.99% 0.166 321)
XYZxyz(9.6628, 4.9815, 18.5380)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1579 #247915
analogous
#381579 #6A1579 #791556
triadic
#6A1579 #796A15 #15796A
tetradic
#6A1579 #793815 #247915 #155679
square
#6A1579 #793815 #247915 #155679
split-complementary
#6A1579 #567915 #157938
monochromatic
#17051A #3C0C45 #6A1579 #981EAD #C12EDB

Accessibility & contrast

On white

10.52
#6A1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6A1579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1579
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1579#FFFFFF#000000##FFFFFF
##6A15791.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#224277
Tritanopia (blue-blind)
#6B2B48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a1579;
/* rgb */ color: rgb(106, 21, 121);
/* oklch */ color: oklch(39.0% 0.166 321.0);
Tailwind
colors: {
  custom: {
    50: '#985ea0',
    500: '#6a1579',
    950: '#000000',
  },
}
SCSS
$custom: #6a1579;
$custom-light: #985ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1579",
  "rgb": {
    "r": 106,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 291,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38993,
    "c": 0.16592,
    "h": 321
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#6A1579
secondary
#4DAF3B
accent
#ED3B55
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #6A1579

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

Preview Lab → · Contrast checker → · Palette generator →

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