#6D2487#6D2487

#6D2487 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.163 H 315.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#6D2487
RGBrgb(109, 36, 135)
HSLhsl(284, 58%, 34%)
HSVhsv(284, 73%, 53%)
CMYKcmyk(19.3%, 73.3%, 0%, 47.1%)
CIE-LABlab(30.07, 47.37, -40.60)
CIE-LCHlch(30.07, 62.39, 319.40°)
OKLaboklab(41.8% 0.1168 -0.1143)
OKLCHoklch(41.8% 0.163 315.6)
XYZxyz(11.3100, 6.2627, 23.5300)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2487 #3E8724
analogous
#3B2487 #6D2487 #87246F
triadic
#6D2487 #876D24 #24876D
tetradic
#6D2487 #873B24 #3E8724 #246F87
square
#6D2487 #873B24 #3E8724 #246F87
split-complementary
#6D2487 #6F8724 #24873B
monochromatic
#1F0A26 #461757 #6D2487 #9431B7 #B054D1

Accessibility & contrast

On white

9.32
#6D2487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6D2487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2487
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2487#FFFFFF#000000##FFFFFF
##6D24871.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#224985
Tritanopia (blue-blind)
#6B3853
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d2487;
/* rgb */ color: rgb(109, 36, 135);
/* oklch */ color: oklch(41.8% 0.163 315.6);
Tailwind
colors: {
  custom: {
    50: '#9a66aa',
    500: '#6d2487',
    950: '#000000',
  },
}
SCSS
$custom: #6d2487;
$custom-light: #9a66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2487",
  "rgb": {
    "r": 109,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 284.242,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41801,
    "c": 0.16339,
    "h": 315.6
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#6D2487
secondary
#6CB551
accent
#E1476F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D2487

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

Preview Lab → · Contrast checker → · Palette generator →

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