#6D1778#6D1778

#6D1778 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.164 H 322.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#6D1778
RGBrgb(109, 23, 120)
HSLhsl(293, 68%, 28%)
HSVhsv(293, 81%, 47%)
CMYKcmyk(9.2%, 80.8%, 0%, 52.9%)
CIE-LABlab(27.35, 49.19, -35.52)
CIE-LCHlch(27.35, 60.67, 324.17°)
OKLaboklab(39.55% 0.131 -0.0993)
OKLCHoklch(39.55% 0.164 322.8)
XYZxyz(10.0029, 5.2207, 18.2465)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1778 #227817
analogous
#3C1778 #6D1778 #781752
triadic
#6D1778 #786D17 #17786D
tetradic
#6D1778 #783C17 #227817 #175278
square
#6D1778 #783C17 #227817 #175278
split-complementary
#6D1778 #527817 #17783C
monochromatic
#17051A #3E0D45 #6D1778 #9C21AB #C532D8

Accessibility & contrast

On white

10.27
#6D1778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6D1778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1778
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1778#FFFFFF#000000##FFFFFF
##6D17781.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#274476
Tritanopia (blue-blind)
#6F2B47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d1778;
/* rgb */ color: rgb(109, 23, 120);
/* oklch */ color: oklch(39.5% 0.164 322.8);
Tailwind
colors: {
  custom: {
    50: '#9a609f',
    500: '#6d1778',
    950: '#000000',
  },
}
SCSS
$custom: #6d1778;
$custom-light: #9a609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1778",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 293.196,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39548,
    "c": 0.16441,
    "h": 322.8
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

primary
#6D1778
secondary
#4AAD3E
accent
#EB3D51
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6D1778

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

Preview Lab → · Contrast checker → · Palette generator →

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