#6D1785#6D1785

#6D1785 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.176 H 317.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#6D1785
RGBrgb(109, 23, 133)
HSLhsl(287, 71%, 31%)
HSVhsv(287, 83%, 52%)
CMYKcmyk(18%, 82.7%, 0%, 47.8%)
CIE-LABlab(28.27, 51.71, -42.24)
CIE-LCHlch(28.27, 66.77, 320.75°)
OKLaboklab(40.48% 0.1292 -0.119)
OKLCHoklch(40.48% 0.176 317.3)
XYZxyz(10.8461, 5.5579, 22.6872)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1785 #2F8517
analogous
#361785 #6D1785 #851766
triadic
#6D1785 #856D17 #17856D
tetradic
#6D1785 #853617 #2F8517 #176685
square
#6D1785 #853617 #2F8517 #176685
split-complementary
#6D1785 #668517 #178536
monochromatic
#17051D #420E51 #6D1785 #9820B9 #B93ADD

Accessibility & contrast

On white

9.95
#6D1785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6D1785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1785
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1785#FFFFFF#000000##FFFFFF
##6D17851.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#1A4583
Tritanopia (blue-blind)
#6C314F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1785;
/* rgb */ color: rgb(109, 23, 133);
/* oklch */ color: oklch(40.5% 0.176 317.3);
Tailwind
colors: {
  custom: {
    50: '#9b60a9',
    500: '#6d1785',
    950: '#000000',
  },
}
SCSS
$custom: #6d1785;
$custom-light: #9b60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1785",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 286.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40484,
    "c": 0.17566,
    "h": 317.3
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#6D1785
secondary
#59B93F
accent
#ED3B62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D1785

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

Preview Lab → · Contrast checker → · Palette generator →

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