#6A1D79#6A1D79

#6A1D79 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.157 H 320.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#6A1D79
RGBrgb(106, 29, 121)
HSLhsl(290, 61%, 29%)
HSVhsv(290, 76%, 47%)
CMYKcmyk(12.4%, 76%, 0%, 52.5%)
CIE-LABlab(27.64, 46.63, -35.72)
CIE-LCHlch(27.64, 58.74, 322.55°)
OKLaboklab(39.67% 0.1216 -0.1001)
OKLCHoklch(39.67% 0.157 320.5)
XYZxyz(9.8340, 5.3239, 18.5951)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1D79 #2C791D
analogous
#3C1D79 #6A1D79 #791D5A
triadic
#6A1D79 #796A1D #1D796A
tetradic
#6A1D79 #793C1D #2C791D #1D5A79
square
#6A1D79 #793C1D #2C791D #1D5A79
split-complementary
#6A1D79 #5A791D #1D793C
monochromatic
#160619 #3F1148 #6A1D79 #9529AA #B93FD1

Accessibility & contrast

On white

10.17
#6A1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6A1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1D79
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1D79#FFFFFF#000000##FFFFFF
##6A1D791.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#274477
Tritanopia (blue-blind)
#6B2F49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6a1d79;
/* rgb */ color: rgb(106, 29, 121);
/* oklch */ color: oklch(39.7% 0.157 320.5);
Tailwind
colors: {
  custom: {
    50: '#9862a0',
    500: '#6a1d79',
    950: '#000000',
  },
}
SCSS
$custom: #6a1d79;
$custom-light: #9862a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1d79",
  "rgb": {
    "r": 106,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 290.217,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3967,
    "c": 0.15744,
    "h": 320.5
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#6A1D79
secondary
#56AD45
accent
#E4435E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6A1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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