#6D1779#6D1779

#6D1779 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.165 H 322.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#6D1779
RGBrgb(109, 23, 121)
HSLhsl(293, 68%, 28%)
HSVhsv(293, 81%, 47%)
CMYKcmyk(9.9%, 81%, 0%, 52.5%)
CIE-LABlab(27.42, 49.38, -36.04)
CIE-LCHlch(27.42, 61.14, 323.87°)
OKLaboklab(39.62% 0.1309 -0.1009)
OKLCHoklch(39.62% 0.165 322.4)
XYZxyz(10.0639, 5.2451, 18.5678)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1779 #237917
analogous
#3C1779 #6D1779 #791754
triadic
#6D1779 #796D17 #17796D
tetradic
#6D1779 #793C17 #237917 #175479
square
#6D1779 #793C17 #237917 #175479
split-complementary
#6D1779 #547917 #17793C
monochromatic
#17051A #3F0D46 #6D1779 #9B21AC #C432D8

Accessibility & contrast

On white

10.25
#6D1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6D1779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1779
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1779#FFFFFF#000000##FFFFFF
##6D17791.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1779;
/* rgb */ color: rgb(109, 23, 121);
/* oklch */ color: oklch(39.6% 0.165 322.4);
Tailwind
colors: {
  custom: {
    50: '#9a60a0',
    500: '#6d1779',
    950: '#000000',
  },
}
SCSS
$custom: #6d1779;
$custom-light: #9a60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1779",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 292.653,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39618,
    "c": 0.16527,
    "h": 322.4
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#6D1779
secondary
#4BAE3E
accent
#EB3D52
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #6D1779

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

Preview Lab → · Contrast checker → · Palette generator →

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