#6D1F87#6D1F87

#6D1F87 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.169 H 316.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#6D1F87
RGBrgb(109, 31, 135)
HSLhsl(285, 63%, 33%)
HSVhsv(285, 77%, 53%)
CMYKcmyk(19.3%, 77%, 0%, 47.1%)
CIE-LABlab(29.36, 49.37, -41.73)
CIE-LCHlch(29.36, 64.64, 319.80°)
OKLaboklab(41.3% 0.1219 -0.1176)
OKLCHoklch(41.3% 0.169 316)
XYZxyz(11.1692, 5.9809, 23.4831)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F87 #39871F
analogous
#391F87 #6D1F87 #871F6D
triadic
#6D1F87 #876D1F #1F876D
tetradic
#6D1F87 #87391F #39871F #1F6D87
square
#6D1F87 #87391F #39871F #1F6D87
split-complementary
#6D1F87 #6D871F #1F8739
monochromatic
#1D0823 #451455 #6D1F87 #952AB9 #B34BD6

Accessibility & contrast

On white

9.56
#6D1F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6D1F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F87
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F87#FFFFFF#000000##FFFFFF
##6D1F871.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#1E4785
Tritanopia (blue-blind)
#6B3652
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d1f87;
/* rgb */ color: rgb(109, 31, 135);
/* oklch */ color: oklch(41.3% 0.169 316.0);
Tailwind
colors: {
  custom: {
    50: '#9b64ab',
    500: '#6d1f87',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f87;
$custom-light: #9b64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f87",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 285,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41303,
    "c": 0.16932,
    "h": 316
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#6D1F87
secondary
#65B84A
accent
#E6426B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D1F87

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

Preview Lab → · Contrast checker → · Palette generator →

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