#6D1F86#6D1F86

#6D1F86 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.168 H 316.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#6D1F86
RGBrgb(109, 31, 134)
HSLhsl(285, 62%, 32%)
HSVhsv(285, 77%, 53%)
CMYKcmyk(18.7%, 76.9%, 0%, 47.5%)
CIE-LABlab(29.29, 49.16, -41.22)
CIE-LCHlch(29.29, 64.15, 320.02°)
OKLaboklab(41.23% 0.122 -0.1161)
OKLCHoklch(41.23% 0.168 316.4)
XYZxyz(11.0991, 5.9529, 23.1140)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F86 #38861F
analogous
#3A1F86 #6D1F86 #861F6B
triadic
#6D1F86 #866D1F #1F866D
tetradic
#6D1F86 #863A1F #38861F #1F6B86
square
#6D1F86 #863A1F #38861F #1F6B86
split-complementary
#6D1F86 #6B861F #1F863A
monochromatic
#1C0823 #451454 #6D1F86 #952AB8 #B34AD5

Accessibility & contrast

On white

9.59
#6D1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6D1F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F86
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F86#FFFFFF#000000##FFFFFF
##6D1F861.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#1F4784
Tritanopia (blue-blind)
#6B3551
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d1f86;
/* rgb */ color: rgb(109, 31, 134);
/* oklch */ color: oklch(41.2% 0.168 316.4);
Tailwind
colors: {
  custom: {
    50: '#9a64aa',
    500: '#6d1f86',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f86;
$custom-light: #9a64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f86",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 285.437,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4123,
    "c": 0.16839,
    "h": 316.4
  },
  "luminance": 0.05952
}

Semantic roles & 50–950 ramp

primary
#6D1F86
secondary
#64B849
accent
#E5426A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D1F86

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

Preview Lab → · Contrast checker → · Palette generator →

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