#6A1879#6A1879

#6A1879 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.163 H 320.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#6A1879
RGBrgb(106, 24, 121)
HSLhsl(291, 67%, 28%)
HSVhsv(291, 80%, 47%)
CMYKcmyk(12.4%, 80.2%, 0%, 52.5%)
CIE-LABlab(27.01, 48.43, -36.73)
CIE-LCHlch(27.01, 60.78, 322.82°)
OKLaboklab(39.23% 0.1263 -0.103)
OKLCHoklch(39.23% 0.163 320.8)
XYZxyz(9.7213, 5.0984, 18.5575)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1879 #277918
analogous
#391879 #6A1879 #791857
triadic
#6A1879 #796A18 #18796A
tetradic
#6A1879 #793918 #277918 #185779
square
#6A1879 #793918 #277918 #185779
split-complementary
#6A1879 #577918 #187939
monochromatic
#16051A #3D0E46 #6A1879 #9722AC #BE35D7

Accessibility & contrast

On white

10.40
#6A1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6A1879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1879
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1879#FFFFFF#000000##FFFFFF
##6A18791.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#234377
Tritanopia (blue-blind)
#6B2C48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a1879;
/* rgb */ color: rgb(106, 24, 121);
/* oklch */ color: oklch(39.2% 0.163 320.8);
Tailwind
colors: {
  custom: {
    50: '#9860a0',
    500: '#6a1879',
    950: '#000000',
  },
}
SCSS
$custom: #6a1879;
$custom-light: #9860a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1879",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 290.722,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39227,
    "c": 0.16297,
    "h": 320.8
  },
  "luminance": 0.05098
}

Semantic roles & 50–950 ramp

primary
#6A1879
secondary
#50AE3F
accent
#EA3E59
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #6A1879

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

Preview Lab → · Contrast checker → · Palette generator →

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