#6D1E7D#6D1E7D

#6D1E7D is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.161 H 320.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#6D1E7D
RGBrgb(109, 30, 125)
HSLhsl(290, 61%, 30%)
HSVhsv(290, 76%, 49%)
CMYKcmyk(12.8%, 76%, 0%, 51%)
CIE-LABlab(28.54, 47.72, -36.78)
CIE-LCHlch(28.54, 60.25, 322.37°)
OKLaboklab(40.5% 0.124 -0.1031)
OKLCHoklch(40.5% 0.161 320.3)
XYZxyz(10.4722, 5.6610, 19.9391)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1E7D #2E7D1E
analogous
#3E1E7D #6D1E7D #7D1E5D
triadic
#6D1E7D #7D6D1E #1E7D6D
tetradic
#6D1E7D #7D3E1E #2E7D1E #1E5D7D
square
#6D1E7D #7D3E1E #2E7D1E #1E5D7D
split-complementary
#6D1E7D #5D7D1E #1E7D3E
monochromatic
#17061A #42124C #6D1E7D #982AAE #BA43D2

Accessibility & contrast

On white

9.85
#6D1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6D1E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1E7D
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1E7D#FFFFFF#000000##FFFFFF
##6D1E7D1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#6D314C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1e7d;
/* rgb */ color: rgb(109, 30, 125);
/* oklch */ color: oklch(40.5% 0.161 320.3);
Tailwind
colors: {
  custom: {
    50: '#9a63a3',
    500: '#6d1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #6d1e7d;
$custom-light: #9a63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1e7d",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 289.895,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.16124,
    "h": 320.3
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#6D1E7D
secondary
#58B046
accent
#E4435F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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