#6D1A87#6D1A87

#6D1A87 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.175 H 316.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#6D1A87
RGBrgb(109, 26, 135)
HSLhsl(286, 68%, 32%)
HSVhsv(286, 81%, 53%)
CMYKcmyk(19.3%, 80.7%, 0%, 47.1%)
CIE-LABlab(28.75, 51.15, -42.72)
CIE-LCHlch(28.75, 66.64, 320.13°)
OKLaboklab(40.87% 0.1264 -0.1205)
OKLCHoklch(40.87% 0.175 316.4)
XYZxyz(11.0486, 5.7397, 23.4429)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A87 #34871A
analogous
#371A87 #6D1A87 #871A6B
triadic
#6D1A87 #876D1A #1A876D
tetradic
#6D1A87 #87371A #34871A #1A6B87
square
#6D1A87 #87371A #34871A #1A6B87
split-complementary
#6D1A87 #6B871A #1A8737
monochromatic
#1A0620 #441054 #6D1A87 #9624BA #B641DA

Accessibility & contrast

On white

9.78
#6D1A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6D1A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1A87
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A87#FFFFFF#000000##FFFFFF
##6D1A871.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#194685
Tritanopia (blue-blind)
#6B3351
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d1a87;
/* rgb */ color: rgb(109, 26, 135);
/* oklch */ color: oklch(40.9% 0.175 316.4);
Tailwind
colors: {
  custom: {
    50: '#9b62ab',
    500: '#6d1a87',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a87;
$custom-light: #9b62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a87",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 285.688,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40866,
    "c": 0.17459,
    "h": 316.4
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#6D1A87
secondary
#5FBA42
accent
#EB3D67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D1A87

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

Preview Lab → · Contrast checker → · Palette generator →

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