#6D1F7D#6D1F7D

#6D1F7D is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.160 H 320.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#6D1F7D
RGBrgb(109, 31, 125)
HSLhsl(290, 60%, 31%)
HSVhsv(290, 75%, 49%)
CMYKcmyk(12.8%, 75.2%, 0%, 51%)
CIE-LABlab(28.68, 47.33, -36.56)
CIE-LCHlch(28.68, 59.81, 322.31°)
OKLaboklab(40.59% 0.123 -0.1024)
OKLCHoklch(40.59% 0.16 320.2)
XYZxyz(10.4979, 5.7124, 19.9477)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F7D #2F7D1F
analogous
#3E1F7D #6D1F7D #7D1F5E
triadic
#6D1F7D #7D6D1F #1F7D6D
tetradic
#6D1F7D #7D3E1F #2F7D1F #1F5E7D
square
#6D1F7D #7D3E1F #2F7D1F #1F5E7D
split-complementary
#6D1F7D #5E7D1F #1F7D3E
monochromatic
#17071B #42134C #6D1F7D #982BAE #B945D1

Accessibility & contrast

On white

9.80
#6D1F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6D1F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F7D
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F7D#FFFFFF#000000##FFFFFF
##6D1F7D1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1f7d;
/* rgb */ color: rgb(109, 31, 125);
/* oklch */ color: oklch(40.6% 0.160 320.2);
Tailwind
colors: {
  custom: {
    50: '#9a63a3',
    500: '#6d1f7d',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f7d;
$custom-light: #9a63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f7d",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 289.787,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40593,
    "c": 0.16006,
    "h": 320.2
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#6D1F7D
secondary
#59B048
accent
#E3445F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D1F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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