#6D1C8E#6D1C8E

#6D1C8E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.179 H 313.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#6D1C8E
RGBrgb(109, 28, 142)
HSLhsl(283, 67%, 33%)
HSVhsv(283, 80%, 56%)
CMYKcmyk(23.2%, 80.3%, 0%, 44.3%)
CIE-LABlab(29.50, 51.92, -45.85)
CIE-LCHlch(29.50, 69.26, 318.55°)
OKLaboklab(41.56% 0.1234 -0.1297)
OKLCHoklch(41.56% 0.179 313.6)
XYZxyz(11.6036, 6.0351, 26.1396)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1C8E #3D8E1C
analogous
#341C8E #6D1C8E #8E1C76
triadic
#6D1C8E #8E6D1C #1C8E6D
tetradic
#6D1C8E #8E341C #3D8E1C #1C768E
square
#6D1C8E #8E341C #3D8E1C #1C768E
split-complementary
#6D1C8E #768E1C #1C8E34
monochromatic
#1F0828 #46125B #6D1C8E #9426C1 #B149DB

Accessibility & contrast

On white

9.52
#6D1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6D1C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1C8E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1C8E#FFFFFF#000000##FFFFFF
##6D1C8E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#0E478C
Tritanopia (blue-blind)
#6A3755
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d1c8e;
/* rgb */ color: rgb(109, 28, 142);
/* oklch */ color: oklch(41.6% 0.179 313.6);
Tailwind
colors: {
  custom: {
    50: '#9b63b0',
    500: '#6d1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #6d1c8e;
$custom-light: #9b63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1c8e",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 282.632,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41561,
    "c": 0.17898,
    "h": 313.6
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#6D1C8E
secondary
#6ABD49
accent
#EA3E70
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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