#6D1780#6D1780

#6D1780 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.171 H 319.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#6D1780
RGBrgb(109, 23, 128)
HSLhsl(289, 70%, 30%)
HSVhsv(289, 82%, 50%)
CMYKcmyk(14.8%, 82%, 0%, 49.8%)
CIE-LABlab(27.91, 50.72, -39.69)
CIE-LCHlch(27.91, 64.41, 321.96°)
OKLaboklab(40.12% 0.13 -0.1115)
OKLCHoklch(40.12% 0.171 319.4)
XYZxyz(10.5088, 5.4230, 20.9111)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1780 #2A8017
analogous
#391780 #6D1780 #80175F
triadic
#6D1780 #806D17 #17806D
tetradic
#6D1780 #803917 #2A8017 #175F80
square
#6D1780 #803917 #2A8017 #175F80
split-complementary
#6D1780 #5F8017 #178039
monochromatic
#16051A #410E4C #6D1780 #9920B4 #BD36DB

Accessibility & contrast

On white

10.07
#6D1780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6D1780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1780
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1780#FFFFFF#000000##FFFFFF
##6D17801.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#20457E
Tritanopia (blue-blind)
#6D2E4C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d1780;
/* rgb */ color: rgb(109, 23, 128);
/* oklch */ color: oklch(40.1% 0.171 319.4);
Tailwind
colors: {
  custom: {
    50: '#9b60a5',
    500: '#6d1780',
    950: '#000000',
  },
}
SCSS
$custom: #6d1780;
$custom-light: #9b60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1780",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 289.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40115,
    "c": 0.1713,
    "h": 319.4
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#6D1780
secondary
#54B43E
accent
#EC3B5B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D1780

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

Preview Lab → · Contrast checker → · Palette generator →

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