#6D1E87#6D1E87

#6D1E87 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.170 H 316.1°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#6D1E87
RGBrgb(109, 30, 135)
HSLhsl(285, 64%, 32%)
HSVhsv(285, 78%, 53%)
CMYKcmyk(19.3%, 77.8%, 0%, 47.1%)
CIE-LABlab(29.23, 49.74, -41.94)
CIE-LCHlch(29.23, 65.06, 319.87°)
OKLaboklab(41.21% 0.1228 -0.1182)
OKLCHoklch(41.21% 0.17 316.1)
XYZxyz(11.1434, 5.9295, 23.4745)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1E87 #38871E
analogous
#391E87 #6D1E87 #871E6C
triadic
#6D1E87 #876D1E #1E876D
tetradic
#6D1E87 #87391E #38871E #1E6C87
square
#6D1E87 #87391E #38871E #1E6C87
split-complementary
#6D1E87 #6C871E #1E8739
monochromatic
#1C0823 #451355 #6D1E87 #9529B9 #B349D7

Accessibility & contrast

On white

9.61
#6D1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1E87
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1E87#FFFFFF#000000##FFFFFF
##6D1E871.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#1D4785
Tritanopia (blue-blind)
#6B3552
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d1e87;
/* rgb */ color: rgb(109, 30, 135);
/* oklch */ color: oklch(41.2% 0.170 316.1);
Tailwind
colors: {
  custom: {
    50: '#9b63ab',
    500: '#6d1e87',
    950: '#000000',
  },
}
SCSS
$custom: #6d1e87;
$custom-light: #9b63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1e87",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 285.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4121,
    "c": 0.17043,
    "h": 316.1
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#6D1E87
secondary
#64B948
accent
#E7416A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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