#6D1889#6D1889

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

Color values

HEX#6D1889
RGBrgb(109, 24, 137)
HSLhsl(285, 70%, 32%)
HSVhsv(285, 82%, 54%)
CMYKcmyk(20.4%, 82.5%, 0%, 46.3%)
CIE-LABlab(28.67, 52.20, -44.09)
CIE-LCHlch(28.67, 68.33, 319.81°)
OKLaboklab(40.86% 0.1276 -0.1245)
OKLCHoklch(40.86% 0.178 315.7)
XYZxyz(11.1479, 5.7111, 24.1772)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1889 #348918
analogous
#351889 #6D1889 #89186D
triadic
#6D1889 #896D18 #18896D
tetradic
#6D1889 #893518 #348918 #186D89
square
#6D1889 #893518 #348918 #186D89
split-complementary
#6D1889 #6D8918 #188935
monochromatic
#1A0621 #440F55 #6D1889 #9621BD #B63EDD

Accessibility & contrast

On white

9.80
#6D1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6D1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1889
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1889#FFFFFF#000000##FFFFFF
##6D18891.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1889;
/* rgb */ color: rgb(109, 24, 137);
/* oklch */ color: oklch(40.9% 0.178 315.7);
Tailwind
colors: {
  custom: {
    50: '#9b61ac',
    500: '#6d1889',
    950: '#000000',
  },
}
SCSS
$custom: #6d1889;
$custom-light: #9b61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1889",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 285.133,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40861,
    "c": 0.17828,
    "h": 315.7
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#6D1889
secondary
#5FBD40
accent
#ED3B67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D1889

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

Preview Lab → · Contrast checker → · Palette generator →

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