#6D287A#6D287A

#6D287A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.4% C 0.145 H 321.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#6D287A
RGBrgb(109, 40, 122)
HSLhsl(290, 51%, 32%)
HSVhsv(290, 67%, 48%)
CMYKcmyk(10.7%, 67.2%, 0%, 52.2%)
CIE-LABlab(29.85, 42.88, -32.80)
CIE-LCHlch(29.85, 53.99, 322.59°)
OKLaboklab(41.37% 0.1128 -0.0915)
OKLCHoklch(41.37% 0.145 321)
XYZxyz(10.5779, 6.1745, 19.0432)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D287A #357A28
analogous
#44287A #6D287A #7A285E
triadic
#6D287A #7A6D28 #287A6D
tetradic
#6D287A #7A4428 #357A28 #285E7A
square
#6D287A #7A4428 #357A28 #285E7A
split-complementary
#6D287A #5E7A28 #287A44
monochromatic
#1B0A1E #44194C #6D287A #9637A8 #B555C7

Accessibility & contrast

On white

9.40
#6D287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6D287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D287A
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D287A#FFFFFF#000000##FFFFFF
##6D287A1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417C
Deuteranopia (green-blind)
#304978
Tritanopia (blue-blind)
#6E364D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d287a;
/* rgb */ color: rgb(109, 40, 122);
/* oklch */ color: oklch(41.4% 0.145 321.0);
Tailwind
colors: {
  custom: {
    50: '#9967a1',
    500: '#6d287a',
    950: '#000000',
  },
}
SCSS
$custom: #6d287a;
$custom-light: #9967a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d287a",
  "rgb": {
    "r": 109,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 290.488,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41373,
    "c": 0.14527,
    "h": 321
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#6D287A
secondary
#60AC52
accent
#DA4E64
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6D287A

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

Preview Lab → · Contrast checker → · Palette generator →

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