#6D1489#6D1489

#6D1489 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.182 H 315.9°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#6D1489
RGBrgb(109, 20, 137)
HSLhsl(286, 75%, 31%)
HSVhsv(286, 85%, 54%)
CMYKcmyk(20.4%, 85.4%, 0%, 46.3%)
CIE-LABlab(28.27, 53.37, -44.74)
CIE-LCHlch(28.27, 69.65, 320.03°)
OKLaboklab(40.58% 0.1306 -0.1263)
OKLCHoklch(40.58% 0.182 315.9)
XYZxyz(11.0715, 5.5581, 24.1517)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1489 #308914
analogous
#321489 #6D1489 #89146A
triadic
#6D1489 #896D14 #14896D
tetradic
#6D1489 #893214 #308914 #146A89
square
#6D1489 #893214 #308914 #146A89
split-complementary
#6D1489 #6A8914 #148932
monochromatic
#18041E #430C54 #6D1489 #971CBE #B836E2

Accessibility & contrast

On white

9.95
#6D1489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6D1489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1489
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1489#FFFFFF#000000##FFFFFF
##6D14891.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#104587
Tritanopia (blue-blind)
#6B3251
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1489;
/* rgb */ color: rgb(109, 20, 137);
/* oklch */ color: oklch(40.6% 0.182 315.9);
Tailwind
colors: {
  custom: {
    50: '#9b60ac',
    500: '#6d1489',
    950: '#000000',
  },
}
SCSS
$custom: #6d1489;
$custom-light: #9b60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1489",
  "rgb": {
    "r": 109,
    "g": 20,
    "b": 137
  },
  "hsl": {
    "h": 285.641,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40579,
    "c": 0.18171,
    "h": 315.9
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#6D1489
secondary
#5BBD3C
accent
#F13763
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D1489

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

Preview Lab → · Contrast checker → · Palette generator →

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